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 dungeon related protos
This commit is contained in:
parent
4cc4814d29
commit
0d49e40fc7
@ -0,0 +1,15 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.activity.channeller_slab
|
||||
|
||||
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.ProtoModel
|
||||
|
||||
@AddedIn(GI_1_5_0)
|
||||
@ProtoModel
|
||||
internal interface ChannellerSlabLoopDungeonResultInfo {
|
||||
var challengeMaxScore: Int
|
||||
var challengeScore: Int
|
||||
var dungeonIndex: Int
|
||||
var isInTimeLimit: Boolean
|
||||
var isSuccess: Boolean
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.activity.crystal_link
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_2_6_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.ProtoModel
|
||||
|
||||
@AddedIn(GI_2_6_0)
|
||||
@ProtoModel
|
||||
internal interface CrystalLinkDungeonSettleInfo {
|
||||
var difficultyId: Int
|
||||
var finalScore: Int
|
||||
var isNewRecord: Boolean
|
||||
var killEliteMonsterNum: Int
|
||||
@AltName("killNormalMonsterNum")
|
||||
var killNormalMosnterNum: Int
|
||||
var levelId: Int
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.activity.effigy_challenge
|
||||
|
||||
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.ProtoModel
|
||||
|
||||
@AddedIn(GI_1_5_0)
|
||||
@ProtoModel
|
||||
internal interface EffigyChallengeDungeonResultInfo {
|
||||
var challengeId: Int
|
||||
var challengeMaxScore: Int
|
||||
var challengeScore: Int
|
||||
var isInTimeLimit: Boolean
|
||||
var isSuccess: Boolean
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.activity.effigy_challenge_v2
|
||||
|
||||
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.proto.ProtoModel
|
||||
|
||||
@AddedIn(GI_3_2_0)
|
||||
@ProtoModel
|
||||
internal interface EffigyChallengeV2SettleInfo {
|
||||
var challengeModeDifficulty: Int
|
||||
var createDungeonPlayerUid: Int
|
||||
var firstTimeFinishDifficulty: Int
|
||||
var isChallengeHighestDifficulty: Boolean
|
||||
var isNewRecordTime: Boolean
|
||||
var recordTime: Int
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.activity.instable_spray
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_3_0_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoModel
|
||||
|
||||
@AddedIn(GI_3_0_0)
|
||||
@ProtoModel
|
||||
internal interface InstableSprayDungeonSettleInfo {
|
||||
var difficulty: Int
|
||||
var isNewRecord: Boolean
|
||||
var scoreList: List<Int>
|
||||
var stageId: Int
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.activity.mist_trial
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_2_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_2_3_0)
|
||||
@ProtoCommand(CLIENT)
|
||||
internal interface MistTrialFloorLevelNotify {
|
||||
var dungeonSceneId: Int
|
||||
var floorLevel: Int
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.activity.potion
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_2_4_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoModel
|
||||
|
||||
@AddedIn(GI_2_4_0)
|
||||
@ProtoModel
|
||||
internal interface PotionDungeonResultInfo {
|
||||
var difficultyLevel: Int
|
||||
var finalScore: Int
|
||||
var leftTime: Int
|
||||
var levelId: Int
|
||||
var modeId: Int
|
||||
var stageId: Int
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.activity.roguelike_dungeon
|
||||
|
||||
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.ProtoModel
|
||||
|
||||
@AddedIn(GI_2_2_0)
|
||||
@ProtoModel
|
||||
internal interface RoguelikeDungeonSettleInfo {
|
||||
var curLevel: Int
|
||||
var finishedChallengeCellNumMap: Map<Int, RoguelikeSettleCoinInfo>
|
||||
var isCoinCReachLimit: Boolean
|
||||
var isFinalLevel: Boolean
|
||||
var stageId: Int
|
||||
var totalCoinBNum: Int
|
||||
var totalCoinCNum: Int
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.activity.roguelike_dungeon
|
||||
|
||||
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.ProtoModel
|
||||
|
||||
@AddedIn(GI_2_2_0)
|
||||
@ProtoModel
|
||||
internal interface RoguelikeSettleCoinInfo {
|
||||
var cellNum: Int
|
||||
var coinB: Int
|
||||
var coinC: Int
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.activity.summer_time_v2
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_2_8_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoModel
|
||||
|
||||
@AddedIn(GI_2_8_0)
|
||||
@ProtoModel
|
||||
internal interface SummerTimeV2DungeonSettleInfo {
|
||||
var curDungeonRewardLimit: Int
|
||||
var isSuccess: Boolean
|
||||
var takenRewardCount: Int
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.activity.wind_field
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_3_1_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_3_1_0)
|
||||
@ProtoEnum
|
||||
internal enum class WindFieldDungeonFailReason {
|
||||
@AltName("WIND_FIELD_DUNGEON_FAIL_REASON_NONE")
|
||||
WIND_FIELD_DUNGEON_FAIL_NONE,
|
||||
@AltName("WIND_FIELD_DUNGEON_FAIL_REASON_CANCEL")
|
||||
WIND_FIELD_DUNGEON_FAIL_CANCEL,
|
||||
@AltName("WIND_FIELD_DUNGEON_FAIL_REASON_TIMEOUT")
|
||||
WIND_FIELD_DUNGEON_FAIL_TIMEOUT,
|
||||
@AltName("WIND_FIELD_DUNGEON_FAIL_REASON_ALL_AVATAR_DIE")
|
||||
WIND_FIELD_DUNGEON_FAIL_ALL_AVATAR_DIE,
|
||||
@AltName("WIND_FIELD_DUNGEON_FAIL_REASON_LUA_INTERRUPT")
|
||||
WIND_FIELD_DUNGEON_FAIL_LUA_INTERRUPT,
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.activity.wind_field
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_3_1_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoModel
|
||||
|
||||
@AddedIn(GI_3_1_0)
|
||||
@ProtoModel
|
||||
internal interface WindFieldDungeonSettleInfo {
|
||||
var afterWatcherIdList: List<Int>
|
||||
var beforeWatcherIdList: List<Int>
|
||||
var failReason: WindFieldDungeonFailReason
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon
|
||||
|
||||
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.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_CB1)
|
||||
@ProtoCommand(NOTIFY)
|
||||
internal interface DungeonDataNotify {
|
||||
var dungeonDataMap: Map<Int, Int>
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_0_9_0
|
||||
import org.anime_game_servers.core.base.Version.GI_CB1
|
||||
import org.anime_game_servers.core.base.Version.GI_CB2
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoEnum
|
||||
|
||||
@AddedIn(GI_CB1)
|
||||
@ProtoEnum
|
||||
internal enum class DungeonDataType {
|
||||
DUNGEON_DATA_NONE,
|
||||
DUNGEON_DATA_END_TIME,
|
||||
DUNGEON_DATA_MONSTER_DIE_COUNT,
|
||||
@AddedIn(GI_CB2)
|
||||
DUNGEON_DATA_LEVEL_CONFIG_ID,
|
||||
@AddedIn(GI_0_9_0)
|
||||
DUNGEON_DATA_TOWER_MONTHLY_LEVEL_CONFIG_ID,
|
||||
@AddedIn(GI_0_9_0)
|
||||
DUNGEON_DATA_TOWER_FLOOR_LEVEL_CONFIG_ID,
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_5_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.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_CB1)
|
||||
@ProtoCommand(REQUEST)
|
||||
internal interface DungeonDieOptionReq {
|
||||
var dieOption: PlayerDieOption
|
||||
@AddedIn(GI_1_5_0)
|
||||
var isQuitImmediately: Boolean
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_CB1
|
||||
import org.anime_game_servers.core.base.Version.GI_CB2
|
||||
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_CB1)
|
||||
@ProtoCommand(RESPONSE)
|
||||
internal interface DungeonDieOptionRsp {
|
||||
var dieOption: PlayerDieOption
|
||||
var retcode: Int
|
||||
@AddedIn(GI_CB2)
|
||||
var reviveCount: Int
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_2_8_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoModel
|
||||
|
||||
@AddedIn(GI_2_8_0)
|
||||
@ProtoModel
|
||||
internal interface DungeonEnterPosInfo {
|
||||
var pointId: Int
|
||||
var questId: Int
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon
|
||||
|
||||
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.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_CB1)
|
||||
@ProtoCommand(NOTIFY)
|
||||
internal interface DungeonFollowNotify {
|
||||
var targetUid: Int
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_CB2
|
||||
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_CB2)
|
||||
@ProtoCommand(REQUEST)
|
||||
internal interface DungeonGetStatueDropReq {
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_CB2
|
||||
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_CB2)
|
||||
@ProtoCommand(RESPONSE)
|
||||
internal interface DungeonGetStatueDropRsp {
|
||||
var retcode: Int
|
||||
}
|
@ -0,0 +1,31 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon
|
||||
|
||||
import org.anime_game_servers.multi_proto.gi.data.general.PlayerDieType
|
||||
import org.anime_game_servers.core.base.Version.GI_1_1_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.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.OneOf
|
||||
import org.anime_game_servers.core.base.annotations.proto.OneOfEntry
|
||||
import org.anime_game_servers.core.base.annotations.proto.OneOfType
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_CB1)
|
||||
@ProtoCommand(NOTIFY)
|
||||
internal interface DungeonPlayerDieNotify {
|
||||
var dieType: PlayerDieType
|
||||
var dungeonId: Int
|
||||
var murdererEntityId: Int
|
||||
var reviveCount: Int
|
||||
var waitTime: Int
|
||||
@AddedIn(GI_1_1_0)
|
||||
var strengthenPointDataMap: Map<Int, StrengthenPointData>
|
||||
|
||||
@OneOf(
|
||||
types = [
|
||||
OneOfEntry(Int::class, "gadget_id"),
|
||||
OneOfEntry(Int::class, "monster_id"),
|
||||
]
|
||||
)
|
||||
var entity: OneOfType
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon
|
||||
|
||||
import org.anime_game_servers.multi_proto.gi.data.general.PlayerDieType
|
||||
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.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_CB1)
|
||||
@ProtoCommand(REQUEST)
|
||||
internal interface DungeonPlayerDieReq {
|
||||
var dieType: PlayerDieType
|
||||
var dungeonId: Int
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon
|
||||
|
||||
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.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_CB1)
|
||||
@ProtoCommand(RESPONSE)
|
||||
internal interface DungeonPlayerDieRsp {
|
||||
var retcode: Int
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_2_2_0
|
||||
import org.anime_game_servers.core.base.Version.GI_2_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_2_2_0)
|
||||
@ProtoCommand(CLIENT)
|
||||
internal interface DungeonReviseLevelNotify {
|
||||
var dungeonId: Int
|
||||
var reviseLevel: Int
|
||||
@AddedIn(GI_2_4_0)
|
||||
var sceneLevel: Int
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon
|
||||
|
||||
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.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_CB1)
|
||||
@ProtoCommand(NOTIFY)
|
||||
internal interface DungeonShowReminderNotify {
|
||||
var reminderId: Int
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon
|
||||
|
||||
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 DungeonSlipRevivePointActivateReq {
|
||||
var slipRevivePointId: Int
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon
|
||||
|
||||
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 DungeonSlipRevivePointActivateRsp {
|
||||
var retcode: Int
|
||||
var slipRevivePointId: Int
|
||||
}
|
@ -0,0 +1,19 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon
|
||||
|
||||
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.proto.AltName
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoEnum
|
||||
|
||||
@AddedIn(GI_CB1)
|
||||
@ProtoEnum
|
||||
internal enum class PlayerDieOption {
|
||||
@AltName("PLAYER_DIE_OPTION_OPT_NONE")
|
||||
DIE_OPT_NONE,
|
||||
@AltName("PLAYER_DIE_OPTION_OPT_REPLAY")
|
||||
DIE_OPT_REPLAY,
|
||||
@AltName("PLAYER_DIE_OPTION_OPT_CANCEL")
|
||||
DIE_OPT_CANCEL,
|
||||
@AltName("PLAYER_DIE_OPTION_OPT_REVIVE")
|
||||
DIE_OPT_REVIVE,
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_2_8_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.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_CB1)
|
||||
@ProtoCommand(REQUEST)
|
||||
internal interface PlayerEnterDungeonReq {
|
||||
var dungeonId: Int
|
||||
var pointId: Int
|
||||
@AddedIn(GI_2_8_0)
|
||||
var enterPosInfo: DungeonEnterPosInfo
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon
|
||||
|
||||
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.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_CB1)
|
||||
@ProtoCommand(RESPONSE)
|
||||
internal interface PlayerEnterDungeonRsp {
|
||||
var dungeonId: Int
|
||||
var pointId: Int
|
||||
var retcode: Int
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_5_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.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_CB1)
|
||||
@ProtoCommand(REQUEST)
|
||||
internal interface PlayerQuitDungeonReq {
|
||||
var pointId: Int
|
||||
@AddedIn(GI_1_5_0)
|
||||
var isQuitImmediately: Boolean
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon
|
||||
|
||||
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.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_CB1)
|
||||
@ProtoCommand(RESPONSE)
|
||||
internal interface PlayerQuitDungeonRsp {
|
||||
var pointId: Int
|
||||
var retcode: Int
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon
|
||||
|
||||
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.ProtoModel
|
||||
|
||||
@AddedIn(GI_1_1_0)
|
||||
@ProtoModel
|
||||
internal interface StrengthenPointData {
|
||||
var basePoint: Int
|
||||
var curPoint: Int
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon.candidate_team
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_CB2
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoModel
|
||||
import org.anime_game_servers.multi_proto.gi.data.general.avatar.AvatarInfo
|
||||
|
||||
@AddedIn(GI_CB2)
|
||||
@ProtoModel
|
||||
internal interface DungeonCandidateTeamAvatar {
|
||||
var avatarInfo: AvatarInfo
|
||||
var playerUid: Int
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon.candidate_team
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_CB2
|
||||
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_CB2)
|
||||
@ProtoCommand(REQUEST)
|
||||
internal interface DungeonCandidateTeamChangeAvatarReq {
|
||||
var avatarGuidList: List<Long>
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon.candidate_team
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_CB2
|
||||
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_CB2)
|
||||
@ProtoCommand(RESPONSE)
|
||||
internal interface DungeonCandidateTeamChangeAvatarRsp {
|
||||
var retcode: Int
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon.candidate_team
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_CB2
|
||||
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_CB2)
|
||||
@ProtoCommand(REQUEST)
|
||||
internal interface DungeonCandidateTeamCreateReq {
|
||||
var dungeonId: Int
|
||||
var pointId: Int
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon.candidate_team
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_CB2
|
||||
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_CB2)
|
||||
@ProtoCommand(RESPONSE)
|
||||
internal interface DungeonCandidateTeamCreateRsp {
|
||||
var retcode: Int
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon.candidate_team
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_CB2
|
||||
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_CB2)
|
||||
@ProtoCommand(NOTIFY)
|
||||
internal interface DungeonCandidateTeamDismissNotify {
|
||||
var playerUid: Int
|
||||
var reason: DungeonCandidateTeamDismissReason
|
||||
}
|
@ -0,0 +1,19 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon.candidate_team
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_2_1_0
|
||||
import org.anime_game_servers.core.base.Version.GI_CB2
|
||||
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_CB2)
|
||||
@ProtoEnum(alternativeNames = ["DungeonCandidateTeamPlayerDismissReason"])
|
||||
internal enum class DungeonCandidateTeamDismissReason {
|
||||
@AltName("DUNGEON_CANDIDATE_TEAM_PLAYER_DISMISS_REASON_TPDR_NORMAL")
|
||||
DUNGEON_CANDIDATE_TPDR_NORMAL,
|
||||
@AltName("DUNGEON_CANDIDATE_TEAM_PLAYER_DISMISS_REASON_TPDR_DIE")
|
||||
DUNGEON_CANDIDATE_TPDR_DIE,
|
||||
@AddedIn(GI_2_1_0)
|
||||
@AltName("DUNGEON_CANDIDATE_TEAM_PLAYER_DISMISS_REASON_TPDR_DISCONNECT")
|
||||
DUNGEON_CANDIDATE_TPDR_DISCONNECT,
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon.candidate_team
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_3_0
|
||||
import org.anime_game_servers.core.base.Version.GI_1_6_0
|
||||
import org.anime_game_servers.core.base.Version.GI_CB2
|
||||
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_CB2)
|
||||
@ProtoCommand(NOTIFY)
|
||||
internal interface DungeonCandidateTeamInfoNotify {
|
||||
var avatarList: List<DungeonCandidateTeamAvatar>
|
||||
var dungeonId: Int
|
||||
var readyPlayerUid: List<Int>
|
||||
@AddedIn(GI_1_3_0)
|
||||
var matchType: Int
|
||||
@AddedIn(GI_1_6_0)
|
||||
var playerStateMap: Map<Int, DungeonCandidateTeamPlayerState>
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon.candidate_team
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_CB2
|
||||
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.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_CB2)
|
||||
@ProtoCommand(NOTIFY)
|
||||
internal interface DungeonCandidateTeamInviteNotify {
|
||||
var dungeonId: Int
|
||||
var playerUid: Int
|
||||
@AltName("vaildDeadlineTimeSec")
|
||||
var validDeadlineTimeSec: Int
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon.candidate_team
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_CB2
|
||||
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_CB2)
|
||||
@ProtoCommand(REQUEST)
|
||||
internal interface DungeonCandidateTeamInviteReq {
|
||||
var playerUids: List<Int>
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon.candidate_team
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_2_3_0
|
||||
import org.anime_game_servers.core.base.Version.GI_CB2
|
||||
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_CB2)
|
||||
@ProtoCommand(RESPONSE)
|
||||
internal interface DungeonCandidateTeamInviteRsp {
|
||||
var retcode: Int
|
||||
@AddedIn(GI_2_3_0)
|
||||
var invalidPlayerUids: List<Int>
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon.candidate_team
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_CB2
|
||||
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_CB2)
|
||||
@ProtoCommand(REQUEST)
|
||||
internal interface DungeonCandidateTeamKickReq {
|
||||
var playerUid: Int
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon.candidate_team
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_CB2
|
||||
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_CB2)
|
||||
@ProtoCommand(RESPONSE)
|
||||
internal interface DungeonCandidateTeamKickRsp {
|
||||
var retcode: Int
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon.candidate_team
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_CB2
|
||||
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_CB2)
|
||||
@ProtoCommand(REQUEST)
|
||||
internal interface DungeonCandidateTeamLeaveReq {
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon.candidate_team
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_CB2
|
||||
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_CB2)
|
||||
@ProtoCommand(RESPONSE)
|
||||
internal interface DungeonCandidateTeamLeaveRsp {
|
||||
var retcode: Int
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon.candidate_team
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_CB2
|
||||
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_CB2)
|
||||
@ProtoCommand(NOTIFY)
|
||||
internal interface DungeonCandidateTeamPlayerLeaveNotify {
|
||||
var playerUid: Int
|
||||
var reason: DungeonCandidateTeamPlayerLeaveReason
|
||||
}
|
@ -0,0 +1,19 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon.candidate_team
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_CB2
|
||||
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_CB2)
|
||||
@ProtoEnum
|
||||
internal enum class DungeonCandidateTeamPlayerLeaveReason {
|
||||
@AltName("DUNGEON_CANDIDATE_TEAM_PLAYER_LEAVE_REASON_TPLR_NORMAL")
|
||||
DUNGEON_CANDIDATE_TPLR_NORMAL,
|
||||
@AltName("DUNGEON_CANDIDATE_TEAM_PLAYER_LEAVE_REASON_TPLR_DIE")
|
||||
DUNGEON_CANDIDATE_TPLR_DIE,
|
||||
@AltName("DUNGEON_CANDIDATE_TEAM_PLAYER_LEAVE_REASON_TPLR_BE_KICK")
|
||||
DUNGEON_CANDIDATE_TPLR_BE_KICK,
|
||||
@AltName("DUNGEON_CANDIDATE_TEAM_PLAYER_LEAVE_REASON_DISCONNECT")
|
||||
DUNGEON_CANDIDATE_DISCONNECT,
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon.candidate_team
|
||||
|
||||
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.ProtoEnum
|
||||
|
||||
@AddedIn(GI_1_6_0)
|
||||
@ProtoEnum
|
||||
internal enum class DungeonCandidateTeamPlayerState {
|
||||
DUNGEON_CANDIDATE_TEAM_PLAYER_STATE_IDLE,
|
||||
DUNGEON_CANDIDATE_TEAM_PLAYER_STATE_CHANGING_AVATAR,
|
||||
DUNGEON_CANDIDATE_TEAM_PLAYER_STATE_READY,
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon.candidate_team
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_CB2
|
||||
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_CB2)
|
||||
@ProtoCommand(NOTIFY)
|
||||
internal interface DungeonCandidateTeamRefuseNotify {
|
||||
var playerUid: Int
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon.candidate_team
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_CB2
|
||||
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_CB2)
|
||||
@ProtoCommand(REQUEST)
|
||||
internal interface DungeonCandidateTeamReplyInviteReq {
|
||||
var isAccept: Boolean
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon.candidate_team
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_CB2
|
||||
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_CB2)
|
||||
@ProtoCommand(RESPONSE)
|
||||
internal interface DungeonCandidateTeamReplyInviteRsp {
|
||||
var isTransPoint: Boolean
|
||||
var retcode: Int
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon.candidate_team
|
||||
|
||||
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(REQUEST)
|
||||
internal interface DungeonCandidateTeamSetChangingAvatarReq {
|
||||
var isChangingAvatar: Boolean
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon.candidate_team
|
||||
|
||||
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(RESPONSE)
|
||||
internal interface DungeonCandidateTeamSetChangingAvatarRsp {
|
||||
var retcode: Int
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon.candidate_team
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_CB2
|
||||
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_CB2)
|
||||
@ProtoCommand(REQUEST)
|
||||
internal interface DungeonCandidateTeamSetReadyReq {
|
||||
var isReady: Boolean
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon.candidate_team
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_CB2
|
||||
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_CB2)
|
||||
@ProtoCommand(RESPONSE)
|
||||
internal interface DungeonCandidateTeamSetReadyRsp {
|
||||
var retcode: Int
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon.challenge
|
||||
|
||||
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.ProtoModel
|
||||
|
||||
@AddedIn(GI_2_5_0)
|
||||
@ProtoModel
|
||||
internal interface ChallengeBrief {
|
||||
var challengeId: Int
|
||||
var challengeIndex: Int
|
||||
var curProgress: Int
|
||||
var isSuccess: Boolean
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon.challenge
|
||||
|
||||
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.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_CB1)
|
||||
@ProtoCommand(NOTIFY)
|
||||
internal interface ChallengeDataNotify {
|
||||
var challengeIndex: Int
|
||||
var paramIndex: Int
|
||||
var value: Int
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon.challenge
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_2_3_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoEnum
|
||||
|
||||
@AddedIn(GI_2_3_0)
|
||||
@ProtoEnum
|
||||
internal enum class ChallengeFinishType {
|
||||
CHALLENGE_FINISH_TYPE_NONE,
|
||||
CHALLENGE_FINISH_TYPE_FAIL,
|
||||
CHALLENGE_FINISH_TYPE_SUCC,
|
||||
CHALLENGE_FINISH_TYPE_PAUSE,
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon.challenge
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_CB2
|
||||
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 ChallengeRecord {
|
||||
var bestValue: Int
|
||||
var challengeId: Int
|
||||
var challengeIndex: Int
|
||||
var challengeRecordType: Int
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon.challenge
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_CB2
|
||||
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_CB2)
|
||||
@ProtoCommand(NOTIFY)
|
||||
internal interface ChallengeRecordNotify {
|
||||
var challengeRecordList: List<ChallengeRecord>
|
||||
var groupId: Int
|
||||
}
|
@ -0,0 +1,19 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon.challenge
|
||||
|
||||
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.AltName
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoEnum
|
||||
|
||||
@AddedIn(GI_2_5_0)
|
||||
@ProtoEnum
|
||||
internal enum class CustomDungeonFinishType {
|
||||
@AltName("CUSTOM_DUNGEON_FINISH_TYPE_PLAY_NORMAL")
|
||||
CUSTOM_DUNGEON_FINISH_PLAY_NORMAL,
|
||||
@AltName("CUSTOM_DUNGEON_FINISH_TYPE_PLAY_TRY")
|
||||
CUSTOM_DUNGEON_FINISH_PLAY_TRY,
|
||||
@AltName("CUSTOM_DUNGEON_FINISH_TYPE_EDIT_TRY")
|
||||
CUSTOM_DUNGEON_FINISH_EDIT_TRY,
|
||||
@AltName("CUSTOM_DUNGEON_FINISH_TYPE_SELF_PLAY_NORMAL")
|
||||
CUSTOM_DUNGEON_FINISH_SELF_PLAY_NORMAL,
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon.challenge
|
||||
|
||||
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.ProtoModel
|
||||
|
||||
@AddedIn(GI_2_5_0)
|
||||
@ProtoModel
|
||||
internal interface CustomDungeonResultInfo {
|
||||
var childChallengeList: List<ChallengeBrief>
|
||||
var dungeonGuid: Long
|
||||
var finishType: CustomDungeonFinishType
|
||||
var gotCoinNum: Int
|
||||
var isArriveFinish: Boolean
|
||||
var isLiked: Boolean
|
||||
var isStored: Boolean
|
||||
var timeCost: Int
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon.challenge
|
||||
|
||||
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_CB1
|
||||
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_CB1)
|
||||
@ProtoCommand(NOTIFY)
|
||||
internal interface DungeonChallengeBeginNotify {
|
||||
var challengeId: Int
|
||||
var challengeIndex: Int
|
||||
var paramList: List<Int>
|
||||
@AddedIn(GI_1_0_0)
|
||||
var groupId: Int
|
||||
@AddedIn(GI_1_1_0)
|
||||
var fatherIndex: Int
|
||||
@AddedIn(GI_1_1_0)
|
||||
var uidList: List<Int>
|
||||
}
|
@ -0,0 +1,50 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon.challenge
|
||||
|
||||
import org.anime_game_servers.multi_proto.gi.data.activity.channeller_slab.ChannellerSlabLoopDungeonResultInfo
|
||||
import org.anime_game_servers.multi_proto.gi.data.activity.effigy_challenge.EffigyChallengeDungeonResultInfo
|
||||
import org.anime_game_servers.multi_proto.gi.data.activity.potion.PotionDungeonResultInfo
|
||||
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_1_6_0
|
||||
import org.anime_game_servers.core.base.Version.GI_2_3_0
|
||||
import org.anime_game_servers.core.base.Version.GI_2_4_0
|
||||
import org.anime_game_servers.core.base.Version.GI_2_5_0
|
||||
import org.anime_game_servers.core.base.Version.GI_CB1
|
||||
import org.anime_game_servers.core.base.Version.GI_CB2
|
||||
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.OneOf
|
||||
import org.anime_game_servers.core.base.annotations.proto.OneOfEntry
|
||||
import org.anime_game_servers.core.base.annotations.proto.OneOfType
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
import org.anime_game_servers.multi_proto.gi.data.dungeon.StrengthenPointData
|
||||
|
||||
@AddedIn(GI_CB1)
|
||||
@ProtoCommand(NOTIFY)
|
||||
internal interface DungeonChallengeFinishNotify {
|
||||
var challengeIndex: Int
|
||||
var isSuccess: Boolean
|
||||
@AddedIn(GI_CB2)
|
||||
var challengeRecordType: Int
|
||||
@AddedIn(GI_CB2)
|
||||
var currentValue: Int
|
||||
@AddedIn(GI_CB2)
|
||||
var isNewRecord: Boolean
|
||||
@AddedIn(GI_1_1_0)
|
||||
var strengthenPointDataMap: Map<Int, StrengthenPointData>
|
||||
@AddedIn(GI_2_3_0)
|
||||
var finishType: ChallengeFinishType
|
||||
@AddedIn(GI_2_5_0)
|
||||
var timeCost: Int
|
||||
|
||||
@AddedIn(GI_1_5_0)
|
||||
@OneOf(
|
||||
types = [
|
||||
OneOfEntry(ChannellerSlabLoopDungeonResultInfo::class, "channeller_slab_loop_dungeon_result_info"),
|
||||
OneOfEntry(EffigyChallengeDungeonResultInfo::class, "effigy_challenge_dungeon_result_info", addedIn = GI_1_6_0),
|
||||
OneOfEntry(PotionDungeonResultInfo::class, "potion_dungeon_result_info", addedIn = GI_2_4_0),
|
||||
OneOfEntry(CustomDungeonResultInfo::class, "custom_dungeon_result_info", addedIn = GI_2_5_0),
|
||||
]
|
||||
)
|
||||
var detail: OneOfType
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon.challenge
|
||||
|
||||
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 DungeonInterruptChallengeReq {
|
||||
var challengeId: Int
|
||||
var challengeIndex: Int
|
||||
var groupId: Int
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon.challenge
|
||||
|
||||
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 DungeonInterruptChallengeRsp {
|
||||
var challengeId: Int
|
||||
var challengeIndex: Int
|
||||
var groupId: Int
|
||||
var retcode: Int
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon.entry
|
||||
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.Version.*
|
@ -1,4 +1,4 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon.entry
|
||||
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.multi_proto.gi.data.scene.entity.WeeklyBossResinDiscountInfo
|
@ -1,4 +1,4 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon.entry
|
||||
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.multi_proto.gi.data.general.Uint32Pair
|
@ -1,4 +1,4 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon.entry
|
||||
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.Version
|
@ -1,4 +1,4 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon.entry
|
||||
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.Version.*
|
@ -1,4 +1,4 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon.entry
|
||||
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.Version
|
@ -1,4 +1,4 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon
|
||||
package org.anime_game_servers.multi_proto.gi.data.dungeon.entry
|
||||
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.Version
|
@ -0,0 +1,13 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.general
|
||||
|
||||
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.ProtoModel
|
||||
|
||||
@AddedIn(GI_1_5_0)
|
||||
@ProtoModel
|
||||
internal interface ExhibitionDisplayInfo {
|
||||
var detailParam: Int
|
||||
var id: Int
|
||||
var param: Int
|
||||
}
|
@ -0,0 +1,34 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.general
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_2_0
|
||||
import org.anime_game_servers.core.base.Version.GI_CB1
|
||||
import org.anime_game_servers.core.base.Version.GI_CB2
|
||||
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_CB1)
|
||||
@ProtoEnum
|
||||
internal enum class PlayerDieType {
|
||||
@AltName("PLAYER_DIE_TYPE_NONE")
|
||||
PLAYER_DIE_NONE,
|
||||
@AltName("PLAYER_DIE_TYPE_KILL_BY_MONSTER")
|
||||
PLAYER_DIE_KILL_BY_MONSTER,
|
||||
@AltName("PLAYER_DIE_TYPE_KILL_BY_GEAR")
|
||||
PLAYER_DIE_KILL_BY_GEAR,
|
||||
@AltName("PLAYER_DIE_TYPE_FALL")
|
||||
PLAYER_DIE_FALL,
|
||||
@AltName("PLAYER_DIE_TYPE_DRAWN")
|
||||
PLAYER_DIE_DRAWN,
|
||||
@AltName("PLAYER_DIE_TYPE_ABYSS")
|
||||
PLAYER_DIE_ABYSS,
|
||||
@AddedIn(GI_CB2)
|
||||
@AltName("PLAYER_DIE_TYPE_GM")
|
||||
PLAYER_DIE_GM,
|
||||
@AddedIn(GI_1_2_0)
|
||||
@AltName("PLAYER_DIE_TYPE_CLIMATE_COLD")
|
||||
PLAYER_DIE_CLIMATE_COLD,
|
||||
@AddedIn(GI_1_2_0)
|
||||
@AltName("PLAYER_DIE_TYPE_STORM_LIGHTING")
|
||||
PLAYER_DIE_STORM_LIGHTING,
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.tower
|
||||
|
||||
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("TowerLevelEndNotify")
|
||||
internal enum class ContinueStateType {
|
||||
@AltName("CONTINUE_STATE_TYPE_CAN_NOT_CONTINUE")
|
||||
CONTINUE_STATE_CAN_NOT_CONTINUE,
|
||||
@AltName("CONTINUE_STATE_TYPE_CAN_ENTER_NEXT_LEVEL")
|
||||
CONTINUE_STATE_CAN_ENTER_NEXT_LEVEL,
|
||||
@AltName("CONTINUE_STATE_TYPE_CAN_ENTER_NEXT_FLOOR")
|
||||
CONTINUE_STATE_CAN_ENTER_NEXT_FLOOR,
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.tower
|
||||
|
||||
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
|
||||
import org.anime_game_servers.multi_proto.gi.data.general.item.ItemParam
|
||||
|
||||
@AddedIn(GI_0_9_0)
|
||||
@ProtoCommand(NOTIFY)
|
||||
internal interface TowerLevelEndNotify {
|
||||
var continueState: Int
|
||||
var finishedStarCondList: List<Int>
|
||||
var isSuccess: Boolean
|
||||
var nextFloorId: Int
|
||||
var rewardItemList: List<ItemParam>
|
||||
}
|
Loading…
Reference in New Issue
Block a user