mod database exp

This commit is contained in:
rhunk
2023-08-18 00:55:30 +02:00
parent a8c4c1ce3e
commit f0df0045d6
6 changed files with 159 additions and 57 deletions

View File

@ -1,9 +0,0 @@
package me.rhunk.snapenhance.core.friends
enum class FriendFeature(
val value: String,
) {
DOWNLOAD("download"),
STEALTH("stealth"),
AUTO_SAVE("auto_save");
}

View File

@ -0,0 +1,10 @@
package me.rhunk.snapenhance.core.messaging
enum class EnumConversationFeature(
val value: String,
val objectType: ObjectType,
) {
DOWNLOAD("download", ObjectType.USER),
STEALTH("stealth", ObjectType.CONVERSATION),
AUTO_SAVE("auto_save", ObjectType.CONVERSATION);
}

View File

@ -0,0 +1,28 @@
package me.rhunk.snapenhance.core.messaging
enum class Mode {
BLACKLIST,
WHITELIST
}
enum class ObjectType {
USER,
CONVERSATION
}
data class FriendStreaks(
val userId: String,
val notify: Boolean,
val expirationTimestamp: Long,
val count: Int
)
data class MessagingRule(
val id: Int,
val objectType: ObjectType,
val targetUuid: String,
val enabled: Boolean,
val mode: Mode?,
val subject: String
)