[GI/Proto] Added more community related packets and moved already existing chat packets over to it

This commit is contained in:
hartie95 2024-08-03 13:38:55 +02:00
parent e0879c156d
commit b342ff34df
103 changed files with 955 additions and 36 deletions

View File

@ -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

View File

@ -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

View File

@ -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 {
}

View File

@ -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
}

View 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
}

View File

@ -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

View File

@ -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 {
}

View 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(RESPONSE)
internal interface TakeFirstShareRewardRsp {
var retcode: Int
}

View File

@ -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,
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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 {
}

View File

@ -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
}

View File

@ -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,
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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

View File

@ -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

View File

@ -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>
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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>
}

View File

@ -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
}

View File

@ -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

View File

@ -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

View File

@ -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>
}

View File

@ -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

View File

@ -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

View File

@ -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 {
}

View File

@ -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
}

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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
}

View File

@ -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
}

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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
}

View File

@ -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
}

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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
}

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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
}

View File

@ -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
}

View File

@ -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 {
}

View File

@ -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
}

View File

@ -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 {
}

View File

@ -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
}

View File

@ -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>
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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>
}

View File

@ -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>
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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,
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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

View File

@ -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 {
}

View File

@ -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
}

View File

@ -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

View File

@ -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

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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

View File

@ -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

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

View File

@ -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

View File

@ -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
}

View File

@ -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