mirror of
https://github.com/Anime-Game-Servers/anime-game-multi-proto.git
synced 2024-11-23 04:29:41 +00:00
[GI/Proto] Added the missing QueryRegionListHttpRsp and PacketHead defintions
This commit is contained in:
parent
26da611fe4
commit
6418ff5d4b
@ -0,0 +1,27 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.login
|
||||
|
||||
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.Version.GI_CB1
|
||||
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.ProtoModel
|
||||
import org.anime_game_servers.multi_proto.gi.data.general.Retcode
|
||||
|
||||
@AddedIn(GI_CB1)
|
||||
@ProtoModel
|
||||
internal interface QueryRegionListHttpRsp {
|
||||
var retcode: Retcode
|
||||
@RemovedIn(GI_1_0_0)
|
||||
var clientCustomConfig: String
|
||||
var regionList: List<RegionSimpleInfo>
|
||||
@AddedIn(GI_0_9_0)
|
||||
@RemovedIn(GI_1_0_0)
|
||||
var clientConfig: ClientCustomConfig
|
||||
@AddedIn(GI_0_9_0)
|
||||
var clientCustomConfigEncrypted: ByteArray
|
||||
@AddedIn(GI_0_9_0)
|
||||
var clientSecretKey: ByteArray
|
||||
@AddedIn(GI_0_9_0)
|
||||
var enableLoginPc: Boolean
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.login
|
||||
|
||||
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.AltName
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoModel
|
||||
|
||||
@AddedIn(GI_0_9_0)
|
||||
@RemovedIn(GI_1_0_0)
|
||||
@ProtoModel
|
||||
internal interface RegionCustomConfig {
|
||||
@AltName("antidebugPc")
|
||||
var antiDebugPc: Boolean
|
||||
@AltName("antidubugAndrod")
|
||||
var antiDebugAndroid: Boolean
|
||||
@AltName("antidubugIos")
|
||||
var antiDebugIos: Boolean
|
||||
@AltName("closeAntidebug")
|
||||
var closeAntiDebug: Boolean
|
||||
var forceKill: Boolean
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.login
|
||||
|
||||
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.Version.GI_CB1
|
||||
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.ProtoModel
|
||||
|
||||
@AddedIn(GI_CB1)
|
||||
@ProtoModel
|
||||
internal interface RegionSimpleInfo {
|
||||
var dispatchUrl: String
|
||||
var name: String
|
||||
var title: String
|
||||
var type: String
|
||||
@AddedIn(GI_0_9_0)
|
||||
@RemovedIn(GI_1_0_0)
|
||||
var regionCustomConfig: RegionCustomConfig
|
||||
}
|
@ -0,0 +1,46 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.packet_head
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_CB2
|
||||
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.Version.GI_1_1_0
|
||||
import org.anime_game_servers.core.base.Version.GI_1_5_0
|
||||
import org.anime_game_servers.core.base.Version.GI_3_4_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoModel
|
||||
|
||||
@AddedIn(GI_CB2)
|
||||
@ProtoModel
|
||||
internal interface PacketHead {
|
||||
var clientSequenceId: Int
|
||||
var enetChannelId: Int
|
||||
var enetIsReliable: Int
|
||||
var extMap: Map<Int, Int>
|
||||
var packetId: Int
|
||||
var recvTimeMs: Long
|
||||
var rpcBeginTimeMs: Int
|
||||
var rpcId: Int
|
||||
var senderAppId: Int
|
||||
var serviceAppIdMap: Map<Int, Int>
|
||||
var sourceService: Int
|
||||
var targetService: Int
|
||||
var userId: Int
|
||||
var userIp: Int
|
||||
var userSessionId: Int
|
||||
@AddedIn(GI_0_9_0)
|
||||
var gameThreadIndex: Int
|
||||
@AddedIn(GI_0_9_0)
|
||||
var isSetGameThread: Boolean
|
||||
@AddedIn(GI_0_9_0)
|
||||
var sentMs: Long
|
||||
@AddedIn(GI_1_0_0)
|
||||
var senderLoad: Int
|
||||
@AddedIn(GI_1_1_0)
|
||||
var spanContextStr: ByteArray
|
||||
@AddedIn(GI_1_5_0)
|
||||
var homeUserId: Int
|
||||
@AddedIn(GI_3_4_0)
|
||||
var isSetMultiThread: Boolean
|
||||
@AddedIn(GI_3_4_0)
|
||||
var multiThreadIndex: Int
|
||||
}
|
Loading…
Reference in New Issue
Block a user