mirror of
https://github.com/Anime-Game-Servers/anime-game-multi-proto.git
synced 2024-10-06 17:33:26 +00:00
[GI/Proto] Added more community related packets and moved already existing chat packets over to it
This commit is contained in:
parent
e0879c156d
commit
b342ff34df
@ -1,4 +1,4 @@
|
||||
package data.chat
|
||||
package data.community
|
||||
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.Version
|
@ -1,7 +1,6 @@
|
||||
package data.chat
|
||||
package data.community
|
||||
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import data.general.avatar.ShowAvatarInfo
|
||||
import data.scene.entity.OnlinePlayerInfo
|
||||
import org.anime_game_servers.core.base.Version
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType
|
@ -0,0 +1,11 @@
|
||||
package data.community
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_0_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_1_0_0)
|
||||
@ProtoCommand(REQUEST)
|
||||
internal interface GetRecentMpPlayerListReq {
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package data.community
|
||||
|
||||
import data.community.friends.FriendBrief
|
||||
import org.anime_game_servers.core.base.Version.GI_1_0_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_1_0_0)
|
||||
@ProtoCommand(RESPONSE)
|
||||
internal interface GetRecentMpPlayerListRsp {
|
||||
var recentMpPlayerBriefList: List<FriendBrief>
|
||||
var retcode: Int
|
||||
}
|
12
gi/src/commonMain/kotlin/data/community/SocialDataNotify.kt
Normal file
12
gi/src/commonMain/kotlin/data/community/SocialDataNotify.kt
Normal file
@ -0,0 +1,12 @@
|
||||
package data.community
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_0_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_1_0_0)
|
||||
@ProtoCommand(CLIENT)
|
||||
internal interface SocialDataNotify {
|
||||
var isHaveFirstShare: Boolean
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
package data.chat
|
||||
package data.community
|
||||
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.Version
|
@ -0,0 +1,11 @@
|
||||
package data.community
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_0_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_1_0_0)
|
||||
@ProtoCommand(REQUEST)
|
||||
internal interface TakeFirstShareRewardReq {
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
package data.community
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_0_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_1_0_0)
|
||||
@ProtoCommand(RESPONSE)
|
||||
internal interface TakeFirstShareRewardRsp {
|
||||
var retcode: Int
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
package data.community.administration
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_2_7_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.AltName
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoEnum
|
||||
|
||||
@AddedIn(GI_2_7_0)
|
||||
@ProtoEnum
|
||||
internal enum class AuditState {
|
||||
@AltName("AUDIT_STATE_NONE")
|
||||
AUDIT_NONE,
|
||||
@AltName("AUDIT_STATE_WAITING")
|
||||
AUDIT_WAITING,
|
||||
@AltName("AUDIT_STATE_FAILED")
|
||||
AUDIT_FAILED,
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package data.community.administration
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_2_7_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoModel
|
||||
|
||||
@AddedIn(GI_2_7_0)
|
||||
@ProtoModel
|
||||
internal interface ContentAuditInfo {
|
||||
var auditState: AuditState
|
||||
var content: String
|
||||
var isOpen: Boolean
|
||||
var submitCount: Int
|
||||
var submitLimit: Int
|
||||
}
|
@ -0,0 +1,19 @@
|
||||
package data.community.administration
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_1_0
|
||||
import org.anime_game_servers.core.base.Version.GI_1_5_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_1_1_0)
|
||||
@ProtoCommand(REQUEST)
|
||||
internal interface PlayerReportReq {
|
||||
var content: String
|
||||
var reason: ReportReasonType
|
||||
var targetUid: Int
|
||||
@AddedIn(GI_1_5_0)
|
||||
var targetHomeModuleId: Int
|
||||
@AddedIn(GI_1_5_0)
|
||||
var targetHomeModuleName: String
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package data.community.administration
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_1_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_1_1_0)
|
||||
@ProtoCommand(RESPONSE)
|
||||
internal interface PlayerReportRsp {
|
||||
var cdTime: Int
|
||||
var retcode: Int
|
||||
var targetUid: Int
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
package data.community.administration
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_2_7_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_2_7_0)
|
||||
@ProtoCommand(NOTIFY)
|
||||
internal interface PlayerSignatureAuditDataNotify {
|
||||
var info: ContentAuditInfo
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
package data.community.administration
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_2_7_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_2_7_0)
|
||||
@ProtoCommand(REQUEST)
|
||||
internal interface ReadSignatureAuditReq {
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
package data.community.administration
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_2_7_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_2_7_0)
|
||||
@ProtoCommand(RESPONSE)
|
||||
internal interface ReadSignatureAuditRsp {
|
||||
var retcode: Int
|
||||
}
|
@ -0,0 +1,27 @@
|
||||
package data.community.administration
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_1_0
|
||||
import org.anime_game_servers.core.base.Version.GI_1_5_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.AltName
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoEnum
|
||||
|
||||
@AddedIn(GI_1_1_0)
|
||||
@ProtoEnum
|
||||
internal enum class ReportReasonType {
|
||||
@AltName("REPORT_REASON_TYPE_NONE")
|
||||
REPORT_REASON_NONE,
|
||||
@AltName("REPORT_REASON_TYPE_DECEPTIVE_ADS")
|
||||
REPORT_REASON_DECEPTIVE_ADS,
|
||||
@AltName("REPORT_REASON_TYPE_ABUSING")
|
||||
REPORT_REASON_ABUSING,
|
||||
@AltName("REPORT_REASON_TYPE_CHEAT")
|
||||
REPORT_REASON_CHEAT,
|
||||
@AltName("REPORT_REASON_TYPE_POLITICAL")
|
||||
REPORT_REASON_POLITICAL,
|
||||
@AltName("REPORT_REASON_TYPE_OTHER")
|
||||
REPORT_REASON_OTHER,
|
||||
@AddedIn(GI_1_5_0)
|
||||
@AltName("REPORT_REASON_TYPE_HOME")
|
||||
REPORT_REASON_HOME,
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package data.community.administration
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_2_7_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_2_7_0)
|
||||
@ProtoCommand(NOTIFY)
|
||||
internal interface SignatureAuditConfigNotify {
|
||||
var isOpen: Boolean
|
||||
var submitLimit: Int
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
package data.community.blocking
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_0_9_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_0_9_0)
|
||||
@ProtoCommand(REQUEST)
|
||||
internal interface AddBlacklistReq {
|
||||
var targetUid: Int
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package data.community.blocking
|
||||
|
||||
import data.community.friends.FriendBrief
|
||||
import org.anime_game_servers.core.base.Version.GI_0_9_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_0_9_0)
|
||||
@ProtoCommand(RESPONSE)
|
||||
internal interface AddBlacklistRsp {
|
||||
var retcode: Int
|
||||
var targetFriendBrief: FriendBrief
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
package data.chat
|
||||
package data.community.blocking
|
||||
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.Version
|
@ -1,5 +1,6 @@
|
||||
package data.chat
|
||||
package data.community.blocking
|
||||
|
||||
import data.community.friends.FriendBrief
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.Version
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType
|
@ -0,0 +1,13 @@
|
||||
package data.community.blocking
|
||||
|
||||
import data.community.friends.FriendBrief
|
||||
import org.anime_game_servers.core.base.Version.GI_2_0_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_2_0_0)
|
||||
@ProtoCommand(NOTIFY)
|
||||
internal interface PSNBlackListNotify {
|
||||
var psnBlacklist: List<FriendBrief>
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
package data.community.blocking
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_0_9_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_0_9_0)
|
||||
@ProtoCommand(REQUEST)
|
||||
internal interface RemoveBlacklistReq {
|
||||
var targetUid: Int
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package data.community.blocking
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_0_9_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_0_9_0)
|
||||
@ProtoCommand(RESPONSE)
|
||||
internal interface RemoveBlacklistRsp {
|
||||
var retcode: Int
|
||||
var targetUid: Int
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
package data.community.blocking
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_0_0
|
||||
import org.anime_game_servers.core.base.Version.GI_1_5_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.RemovedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_1_0_0)
|
||||
@ProtoCommand(REQUEST)
|
||||
internal interface UpdatePS4BlockListReq {
|
||||
@RemovedIn(GI_1_5_0)
|
||||
var onlineIdList: List<String>
|
||||
@AddedIn(GI_1_5_0)
|
||||
var psnIdList: List<String>
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
package data.community.blocking
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_0_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_1_0_0)
|
||||
@ProtoCommand(RESPONSE)
|
||||
internal interface UpdatePS4BlockListRsp {
|
||||
var retcode: Int
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
package data.chat
|
||||
package data.community.chat
|
||||
|
||||
import org.anime_game_servers.core.base.Version
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
@ -1,4 +1,4 @@
|
||||
package data.chat
|
||||
package data.community.chat
|
||||
|
||||
import org.anime_game_servers.core.base.Version
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
@ -0,0 +1,11 @@
|
||||
package data.community.chat
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_2_1_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoModel
|
||||
|
||||
@AddedIn(GI_2_1_0)
|
||||
@ProtoModel
|
||||
internal interface ChatEmojiCollectionData {
|
||||
var emojiIdList: List<Int>
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
package data.chat
|
||||
package data.community.chat
|
||||
|
||||
import org.anime_game_servers.core.base.Version
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
@ -1,4 +1,4 @@
|
||||
package data.chat
|
||||
package data.community.chat
|
||||
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.Version
|
@ -0,0 +1,11 @@
|
||||
package data.community.chat
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_2_1_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_2_1_0)
|
||||
@ProtoCommand(REQUEST)
|
||||
internal interface GetChatEmojiCollectionReq {
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package data.community.chat
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_2_1_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_2_1_0)
|
||||
@ProtoCommand(RESPONSE)
|
||||
internal interface GetChatEmojiCollectionRsp {
|
||||
var chatEmojiCollectionData: ChatEmojiCollectionData
|
||||
var retcode: Int
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
package data.chat
|
||||
package data.community.chat
|
||||
|
||||
import org.anime_game_servers.core.base.Version
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
@ -1,4 +1,4 @@
|
||||
package data.chat
|
||||
package data.community.chat
|
||||
|
||||
import org.anime_game_servers.core.base.Version
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
@ -1,4 +1,4 @@
|
||||
package data.chat
|
||||
package data.community.chat
|
||||
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.Version
|
@ -1,4 +1,4 @@
|
||||
package data.chat
|
||||
package data.community.chat
|
||||
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.Version
|
@ -1,4 +1,4 @@
|
||||
package data.chat
|
||||
package data.community.chat
|
||||
|
||||
import org.anime_game_servers.core.base.Version
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
@ -1,4 +1,4 @@
|
||||
package data.chat
|
||||
package data.community.chat
|
||||
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.Version
|
@ -1,4 +1,4 @@
|
||||
package data.chat
|
||||
package data.community.chat
|
||||
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.Version
|
@ -0,0 +1,16 @@
|
||||
package data.community.chat
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_2_0
|
||||
import org.anime_game_servers.core.base.Version.GI_3_2_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.RemovedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_1_2_0)
|
||||
@RemovedIn(GI_3_2_0)
|
||||
@ProtoCommand(REQUEST)
|
||||
internal interface PrivateChatSetSequenceReq {
|
||||
var sequence: Int
|
||||
var targetUid: Int
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package data.community.chat
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_2_0
|
||||
import org.anime_game_servers.core.base.Version.GI_3_2_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.RemovedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_1_2_0)
|
||||
@RemovedIn(GI_3_2_0)
|
||||
@ProtoCommand(RESPONSE)
|
||||
internal interface PrivateChatSetSequenceRsp {
|
||||
var retcode: Int
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
package data.chat
|
||||
package data.community.chat
|
||||
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.Version
|
@ -1,4 +1,4 @@
|
||||
package data.chat
|
||||
package data.community.chat
|
||||
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.Version
|
@ -1,4 +1,4 @@
|
||||
package data.chat
|
||||
package data.community.chat
|
||||
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.Version
|
@ -1,4 +1,4 @@
|
||||
package data.chat
|
||||
package data.community.chat
|
||||
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.Version
|
@ -1,4 +1,4 @@
|
||||
package data.chat
|
||||
package data.community.chat
|
||||
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.Version
|
@ -1,4 +1,4 @@
|
||||
package data.chat
|
||||
package data.community.chat
|
||||
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.Version
|
@ -0,0 +1,12 @@
|
||||
package data.community.chat
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_2_1_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_2_1_0)
|
||||
@ProtoCommand(REQUEST)
|
||||
internal interface SetChatEmojiCollectionReq {
|
||||
var chatEmojiCollectionData: ChatEmojiCollectionData
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
package data.community.chat
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_2_1_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_2_1_0)
|
||||
@ProtoCommand(RESPONSE)
|
||||
internal interface SetChatEmojiCollectionRsp {
|
||||
var retcode: Int
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
package data.chat
|
||||
package data.community.chat
|
||||
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.Version
|
@ -1,4 +1,4 @@
|
||||
package data.chat
|
||||
package data.community.chat
|
||||
|
||||
import org.anime_game_servers.core.base.Version
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
@ -1,5 +1,6 @@
|
||||
package data.chat
|
||||
package data.community.friends
|
||||
|
||||
import data.community.SocialShowAvatarInfo
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import data.general.PlatformType
|
||||
import data.general.ProfilePicture
|
@ -1,4 +1,4 @@
|
||||
package data.chat
|
||||
package data.community.friends
|
||||
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.Version
|
@ -0,0 +1,13 @@
|
||||
package data.community.friends
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_2_0_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_2_0_0)
|
||||
@ProtoCommand(NOTIFY)
|
||||
internal interface FriendInfoChangeNotify {
|
||||
var onlineId: String
|
||||
var uid: Int
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
package data.chat
|
||||
package data.community.friends
|
||||
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.Version
|
@ -1,4 +1,4 @@
|
||||
package data.chat
|
||||
package data.community.friends
|
||||
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.Version
|
@ -1,4 +1,4 @@
|
||||
package data.chat
|
||||
package data.community.friends
|
||||
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import data.general.avatar.ShowAvatarInfo
|
@ -0,0 +1,12 @@
|
||||
package data.community.friends
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_4_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_1_4_0)
|
||||
@ProtoCommand(REQUEST)
|
||||
internal interface GetFriendShowNameCardInfoReq {
|
||||
var uid: Int
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package data.community.friends
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_4_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_1_4_0)
|
||||
@ProtoCommand(RESPONSE)
|
||||
internal interface GetFriendShowNameCardInfoRsp {
|
||||
var retcode: Int
|
||||
var showNameCardIdList: List<Int>
|
||||
var uid: Int
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
package data.community.friends
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_2_0_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_2_0_0)
|
||||
@ProtoCommand(REQUEST)
|
||||
internal interface GetPlayerAskFriendListReq {
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package data.community.friends
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_2_0_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_2_0_0)
|
||||
@ProtoCommand(RESPONSE)
|
||||
internal interface GetPlayerAskFriendListRsp {
|
||||
var askFriendList: List<FriendBrief>
|
||||
var retcode: Int
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
package data.community.friends
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_0_9_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_0_9_0)
|
||||
@ProtoCommand(REQUEST)
|
||||
internal interface GetPlayerFriendListReq {
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
package data.community.friends
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_0_9_0
|
||||
import org.anime_game_servers.core.base.Version.GI_1_0_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.RemovedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_0_9_0)
|
||||
@ProtoCommand(RESPONSE)
|
||||
internal interface GetPlayerFriendListRsp {
|
||||
var askFriendList: List<FriendBrief>
|
||||
@RemovedIn(GI_1_0_0)
|
||||
var blacklist: List<FriendBrief>
|
||||
var friendList: List<FriendBrief>
|
||||
var retcode: Int
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
package data.community.friends
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_2_0_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_2_0_0)
|
||||
@ProtoCommand(NOTIFY)
|
||||
internal interface PSNFriendListNotify {
|
||||
var psnFriendList: List<FriendBrief>
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package data.community.friends
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_2_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_1_2_0)
|
||||
@ProtoCommand(REQUEST)
|
||||
internal interface SetFriendRemarkNameReq {
|
||||
var remarkName: String
|
||||
var uid: Int
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
package data.community.friends
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_2_0
|
||||
import org.anime_game_servers.core.base.Version.GI_2_2_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_1_2_0)
|
||||
@ProtoCommand(RESPONSE)
|
||||
internal interface SetFriendRemarkNameRsp {
|
||||
var remarkName: String
|
||||
var retcode: Int
|
||||
var uid: Int
|
||||
@AddedIn(GI_2_2_0)
|
||||
var isClearRemark: Boolean
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
package data.community.friends
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_0_9_0
|
||||
import org.anime_game_servers.core.base.Version.GI_1_5_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.RemovedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_0_9_0)
|
||||
@ProtoCommand(CLIENT)
|
||||
internal interface UpdatePS4FriendListNotify {
|
||||
@RemovedIn(GI_1_5_0)
|
||||
var onlineIdList: List<String>
|
||||
@AddedIn(GI_1_5_0)
|
||||
var psnIdList: List<String>
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
package data.community.friends
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_2_0_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_2_0_0)
|
||||
@ProtoCommand(REQUEST)
|
||||
internal interface UpdatePS4FriendListReq {
|
||||
var psnIdList: List<String>
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package data.community.friends
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_2_0_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_2_0_0)
|
||||
@ProtoCommand(RESPONSE)
|
||||
internal interface UpdatePS4FriendListRsp {
|
||||
var psnIdList: List<String>
|
||||
var retcode: Int
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package data.community.friends.management
|
||||
|
||||
import data.community.friends.FriendBrief
|
||||
import org.anime_game_servers.core.base.Version.GI_0_9_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_0_9_0)
|
||||
@ProtoCommand(NOTIFY)
|
||||
internal interface AddFriendNotify {
|
||||
var targetFriendBrief: FriendBrief
|
||||
var targetUid: Int
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package data.community.friends.management
|
||||
|
||||
import data.community.friends.FriendBrief
|
||||
import org.anime_game_servers.core.base.Version.GI_0_9_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_0_9_0)
|
||||
@ProtoCommand(NOTIFY)
|
||||
internal interface AskAddFriendNotify {
|
||||
var targetFriendBrief: FriendBrief
|
||||
var targetUid: Int
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
package data.community.friends.management
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_0_9_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_0_9_0)
|
||||
@ProtoCommand(REQUEST)
|
||||
internal interface AskAddFriendReq {
|
||||
var targetUid: Int
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package data.community.friends.management
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_0_9_0
|
||||
import org.anime_game_servers.core.base.Version.GI_1_2_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_0_9_0)
|
||||
@ProtoCommand(RESPONSE)
|
||||
internal interface AskAddFriendRsp {
|
||||
var retcode: Int
|
||||
var targetUid: Int
|
||||
@AddedIn(GI_1_2_0)
|
||||
var param: Int
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package data.community.friends.management
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_0_9_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_0_9_0)
|
||||
@ProtoCommand(REQUEST)
|
||||
internal interface DealAddFriendReq {
|
||||
var dealAddFriendResult: DealAddFriendResultType
|
||||
var targetUid: Int
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package data.community.friends.management
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_0_9_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.AltName
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoEnum
|
||||
|
||||
@AddedIn(GI_0_9_0)
|
||||
@ProtoEnum
|
||||
internal enum class DealAddFriendResultType {
|
||||
@AltName("DEAL_ADD_FRIEND_RESULT_TYPE_REJECT")
|
||||
DEAL_ADD_FRIEND_REJECT,
|
||||
@AltName("DEAL_ADD_FRIEND_RESULT_TYPE_ACCEPT")
|
||||
DEAL_ADD_FRIEND_ACCEPT,
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package data.community.friends.management
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_0_9_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_0_9_0)
|
||||
@ProtoCommand(RESPONSE)
|
||||
internal interface DealAddFriendRsp {
|
||||
var dealAddFriendResult: DealAddFriendResultType
|
||||
var retcode: Int
|
||||
var targetUid: Int
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
package data.community.friends.management
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_0_9_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_0_9_0)
|
||||
@ProtoCommand(NOTIFY)
|
||||
internal interface DeleteFriendNotify {
|
||||
var targetUid: Int
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
package data.community.friends.management
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_0_9_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_0_9_0)
|
||||
@ProtoCommand(REQUEST)
|
||||
internal interface DeleteFriendReq {
|
||||
var targetUid: Int
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package data.community.friends.management
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_0_9_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_0_9_0)
|
||||
@ProtoCommand(RESPONSE)
|
||||
internal interface DeleteFriendRsp {
|
||||
var retcode: Int
|
||||
var targetUid: Int
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
package data.community.friends.management
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_5_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_1_5_0)
|
||||
@ProtoCommand(REQUEST)
|
||||
internal interface ForceAddPlayerFriendReq {
|
||||
var targetUid: Int
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
package data.community.friends.management
|
||||
|
||||
import data.community.friends.FriendBrief
|
||||
import org.anime_game_servers.core.base.Version.GI_1_5_0
|
||||
import org.anime_game_servers.core.base.Version.GI_2_5_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_1_5_0)
|
||||
@ProtoCommand(RESPONSE)
|
||||
internal interface ForceAddPlayerFriendRsp {
|
||||
var retcode: Int
|
||||
var targetUid: Int
|
||||
@AddedIn(GI_2_5_0)
|
||||
var targetFriendBrief: FriendBrief
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
package data.chat
|
||||
package data.community.player_presentation
|
||||
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.Version
|
@ -0,0 +1,11 @@
|
||||
package data.community.player_presentation
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_0_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_1_0_0)
|
||||
@ProtoCommand(REQUEST)
|
||||
internal interface GetAllUnlockNameCardReq {
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package data.community.player_presentation
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_0_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_1_0_0)
|
||||
@ProtoCommand(RESPONSE)
|
||||
internal interface GetAllUnlockNameCardRsp {
|
||||
var nameCardList: List<Int>
|
||||
var retcode: Int
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
package data.chat
|
||||
package data.community.player_presentation
|
||||
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.Version
|
@ -1,4 +1,4 @@
|
||||
package data.chat
|
||||
package data.community.player_presentation
|
||||
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.Version
|
@ -0,0 +1,12 @@
|
||||
package data.community.player_presentation
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_2_7_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_2_7_0)
|
||||
@ProtoCommand(NOTIFY)
|
||||
internal interface PlayerSignatureNotify {
|
||||
var signature: String
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package data.community.player_presentation
|
||||
|
||||
import data.general.ProfilePicture
|
||||
import org.anime_game_servers.core.base.Version.GI_1_6_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_1_6_0)
|
||||
@ProtoCommand(CLIENT)
|
||||
internal interface ProfilePictureChangeNotify {
|
||||
var profilePicture: ProfilePicture
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
package data.community.player_presentation
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_0_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_1_0_0)
|
||||
@ProtoCommand(REQUEST)
|
||||
internal interface SetNameCardReq {
|
||||
var nameCardId: Int
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package data.community.player_presentation
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_0_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_1_0_0)
|
||||
@ProtoCommand(RESPONSE)
|
||||
internal interface SetNameCardRsp {
|
||||
var nameCardId: Int
|
||||
var retcode: Int
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
package data.chat
|
||||
package data.community.player_presentation
|
||||
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.Version
|
@ -1,4 +1,4 @@
|
||||
package data.chat
|
||||
package data.community.player_presentation
|
||||
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.Version
|
@ -0,0 +1,12 @@
|
||||
package data.community.player_presentation
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_0_9_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_0_9_0)
|
||||
@ProtoCommand(REQUEST)
|
||||
internal interface SetPlayerHeadImageReq {
|
||||
var avatarId: Int
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
package data.community.player_presentation
|
||||
|
||||
import data.general.ProfilePicture
|
||||
import org.anime_game_servers.core.base.Version.GI_0_9_0
|
||||
import org.anime_game_servers.core.base.Version.GI_1_6_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_0_9_0)
|
||||
@ProtoCommand(RESPONSE)
|
||||
internal interface SetPlayerHeadImageRsp {
|
||||
var avatarId: Int
|
||||
var retcode: Int
|
||||
@AddedIn(GI_1_6_0)
|
||||
var profilePicture: ProfilePicture
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
package data.community.player_presentation
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_0_9_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_0_9_0)
|
||||
@ProtoCommand(REQUEST)
|
||||
internal interface SetPlayerSignatureReq {
|
||||
var signature: String
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package data.community.player_presentation
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_0_9_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_0_9_0)
|
||||
@ProtoCommand(RESPONSE)
|
||||
internal interface SetPlayerSignatureRsp {
|
||||
var retcode: Int
|
||||
var signature: String
|
||||
}
|
@ -1,5 +1,8 @@
|
||||
package data.chat
|
||||
package data.community.player_presentation
|
||||
|
||||
import data.community.friends.FriendEnterHomeOption
|
||||
import data.community.friends.FriendOnlineState
|
||||
import data.community.SocialShowAvatarInfo
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import data.general.ProfilePicture
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType
|
@ -0,0 +1,12 @@
|
||||
package data.community.player_presentation
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_0_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_1_0_0)
|
||||
@ProtoCommand(NOTIFY)
|
||||
internal interface UnlockNameCardNotify {
|
||||
var nameCardId: Int
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package data.community.player_presentation
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_3_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_1_3_0)
|
||||
@ProtoCommand(REQUEST)
|
||||
internal interface UpdatePlayerShowAvatarListReq {
|
||||
var isShowAvatar: Boolean
|
||||
var showAvatarIdList: List<Int>
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user