mirror of
https://github.com/Anime-Game-Servers/anime-game-multi-proto.git
synced 2024-11-23 04:29:41 +00:00
[GI/Refactoring] Moved based packet to be more unique from root to org.anime_game_servers.multi_proto.gi.*
This commit is contained in:
parent
09d642b2eb
commit
a9af21d082
@ -1,4 +0,0 @@
|
||||
package data
|
||||
|
||||
internal const val IntDefault = 0
|
||||
internal const val BoolDefault = false
|
@ -1,29 +0,0 @@
|
||||
package data.ability
|
||||
|
||||
import data.battle.ForwardType
|
||||
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.RemovedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_CB1)
|
||||
@ProtoCommand(CLIENT)
|
||||
internal interface AbilityInvocationFixedNotify {
|
||||
@RemovedIn(GI_CB2)
|
||||
var entityId: Int
|
||||
@RemovedIn(GI_0_9_0)
|
||||
var forwardPeer: Int
|
||||
@RemovedIn(GI_0_9_0)
|
||||
var forwardPeers: List<Int>
|
||||
@RemovedIn(GI_0_9_0)
|
||||
var forwardType: ForwardType
|
||||
var invoke1st: AbilityInvokeEntry
|
||||
var invoke2nd: AbilityInvokeEntry
|
||||
var invoke3rd: AbilityInvokeEntry
|
||||
var invoke4th: AbilityInvokeEntry
|
||||
var invoke5th: AbilityInvokeEntry
|
||||
var invoke6th: AbilityInvokeEntry
|
||||
}
|
@ -1,14 +0,0 @@
|
||||
package data.ability.meta
|
||||
|
||||
import data.general.ability.AbilityString
|
||||
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.ProtoModel
|
||||
|
||||
@AddedIn(GI_CB1)
|
||||
@ProtoModel
|
||||
internal interface AbilityMetaAddOrGetAbilityAndTrigger {
|
||||
var abilityName: AbilityString
|
||||
var abilityOverride: AbilityString
|
||||
var triggerArgument: Float
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
package data.ability.meta
|
||||
|
||||
import data.ability.ModifierAction
|
||||
import data.ability.ModifierProperty
|
||||
import data.general.ability.AbilityAttachedModifier
|
||||
import data.general.ability.AbilityString
|
||||
import org.anime_game_servers.core.base.Version.GI_0_9_0
|
||||
import org.anime_game_servers.core.base.Version.GI_2_3_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.ProtoModel
|
||||
|
||||
@AddedIn(GI_CB1)
|
||||
@ProtoModel
|
||||
internal interface AbilityMetaModifierChange {
|
||||
var action: ModifierAction
|
||||
var applyEntityId: Int
|
||||
var attachedInstancedModifier: AbilityAttachedModifier
|
||||
var isMuteRemote: Boolean
|
||||
var modifierLocalId: Int
|
||||
var parentAbilityName: AbilityString
|
||||
var parentAbilityOverride: AbilityString
|
||||
var properties: List<ModifierProperty>
|
||||
@AddedIn(GI_CB2)
|
||||
var isAttachedParentAbility: Boolean
|
||||
@AddedIn(GI_0_9_0)
|
||||
var serverBuffUid: Int
|
||||
@AddedIn(GI_2_3_0)
|
||||
var isDurabilityZero: Boolean
|
||||
}
|
@ -1,19 +0,0 @@
|
||||
package data.activity.aster
|
||||
|
||||
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.ProtoModel
|
||||
|
||||
@AddedIn(Version.GI_1_1_0)
|
||||
@ProtoModel
|
||||
interface AsterActivityDetailInfo {
|
||||
var asterLittle: AsterLittleDetailInfo
|
||||
var asterMid: AsterMidDetailInfo
|
||||
var asterLarge: AsterLargeDetailInfo
|
||||
var asterProgress: AsterProgressDetailInfo
|
||||
var asterCredit: Int
|
||||
var asterToken: Int
|
||||
var isSpecialRewardTaken: Boolean
|
||||
var isContentClosed: Boolean
|
||||
var contentCloseTime: Int
|
||||
}
|
@ -1,18 +0,0 @@
|
||||
package data.activity.fleur_fair
|
||||
|
||||
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.ProtoModel
|
||||
|
||||
@AddedIn(GI_1_4_0)
|
||||
@ProtoModel
|
||||
interface FleurFairActivityDetailInfo {
|
||||
var chapterInfoList: List<FleurFairChapterInfo>
|
||||
var contentCloseTime: Int
|
||||
var dungeonPunishOverTime: Int
|
||||
var dungeonSectionInfoMap: Map<Int, FleurFairDungeonSectionInfo>
|
||||
var isContentClosed: Boolean
|
||||
var isDungeonUnlocked: Boolean
|
||||
var minigameInfoMap: Map<Int, FleurFairMinigameInfo>
|
||||
var obtainedToken: Int
|
||||
}
|
@ -1,17 +0,0 @@
|
||||
package data.activity.music_game
|
||||
|
||||
import data.activity.user_generated_content.music_game.UgcMusicBriefInfo
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoModel
|
||||
|
||||
/**
|
||||
* Information about a music game activity. This includes the current user records and user generated content.
|
||||
* @property musicGameRecordMap The current user records.
|
||||
* @property ugcRecordList
|
||||
* @property ugcSearchList
|
||||
*/
|
||||
@ProtoModel
|
||||
interface MusicGameActivityDetailInfo {
|
||||
var musicGameRecordMap: Map<Int, MusicGameRecord>
|
||||
var ugcRecordList: List<UgcMusicBriefInfo>
|
||||
var ugcSearchList: List<UgcMusicBriefInfo>
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
package data.activity.summer_time_v2
|
||||
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.Version
|
||||
import data.activity.ActivityDetailInfo
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoModel
|
||||
|
||||
@ProtoModel
|
||||
@AddedIn(Version.GI_2_8_0)
|
||||
internal interface SummerTimeV2DetailInfo : ActivityDetailInfo {
|
||||
var isContentClosed: Boolean
|
||||
var curDungeonRewardLimit: Int
|
||||
var takenRewardCount: Int
|
||||
var dungeonStageInfoList: List<SummerTimeV2DungeonStageInfo>
|
||||
var boatStageInfoList: List<SummerTimeV2BoatStageInfo>
|
||||
}
|
@ -1,17 +0,0 @@
|
||||
package data.activity.user_generated_content
|
||||
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import data.activity.user_generated_content.music_game.UgcMusicBriefInfo
|
||||
import data.activity.user_generated_content.music_game.UgcMusicRecord
|
||||
import org.anime_game_servers.core.base.Version
|
||||
import org.anime_game_servers.core.base.annotations.proto.*
|
||||
|
||||
@AddedIn(Version.GI_2_7_0)
|
||||
@ProtoCommand(CommandType.RESPONSE)
|
||||
interface GetUgcBriefInfoRsp {
|
||||
var ugcGuid: Long
|
||||
var ugcType: UgcType
|
||||
@OneOf(OneOfEntry(UgcMusicBriefInfo::class, "music_brief_info"))
|
||||
var brief: OneOfType
|
||||
var retcode: Int
|
||||
}
|
@ -1,20 +0,0 @@
|
||||
package data.activity.user_generated_content
|
||||
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import data.activity.user_generated_content.music_game.UgcMusicBriefInfo
|
||||
import data.activity.user_generated_content.music_game.UgcMusicRecord
|
||||
import org.anime_game_servers.core.base.Version
|
||||
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.OneOfType
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(Version.GI_2_7_0)
|
||||
@ProtoCommand(CommandType.REQUEST)
|
||||
interface GetUgcReq {
|
||||
var ugcType: UgcType
|
||||
var ugcGuid: Long
|
||||
var getUgcType: GetUgcType
|
||||
var isRequireBrief: Boolean
|
||||
var ugcRecordUsage: RecordUsage
|
||||
}
|
@ -1,20 +0,0 @@
|
||||
package data.activity.user_generated_content
|
||||
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import data.activity.user_generated_content.music_game.UgcMusicBriefInfo
|
||||
import data.activity.user_generated_content.music_game.UgcMusicRecord
|
||||
import org.anime_game_servers.core.base.Version
|
||||
import org.anime_game_servers.core.base.annotations.proto.*
|
||||
|
||||
@AddedIn(Version.GI_2_7_0)
|
||||
@ProtoCommand(CommandType.RESPONSE)
|
||||
interface GetUgcRsp {
|
||||
var ugcGuid: Long
|
||||
var ugcType: UgcType
|
||||
var ugcRecordUsage: RecordUsage
|
||||
@OneOf(OneOfEntry(UgcMusicRecord::class, "music_record"))
|
||||
var record: OneOfType
|
||||
@OneOf(OneOfEntry(UgcMusicBriefInfo::class, "music_brief_info"))
|
||||
var brief: OneOfType
|
||||
var retcode: Int
|
||||
}
|
@ -1,17 +0,0 @@
|
||||
package data.activity.user_generated_content
|
||||
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import data.activity.user_generated_content.music_game.UgcMusicBriefInfo
|
||||
import data.activity.user_generated_content.music_game.UgcMusicRecord
|
||||
import org.anime_game_servers.core.base.Version
|
||||
import org.anime_game_servers.core.base.annotations.proto.*
|
||||
|
||||
@AddedIn(Version.GI_2_7_0)
|
||||
@ProtoCommand(CommandType.REQUEST)
|
||||
interface SaveUgcReq {
|
||||
var ugcType: UgcType
|
||||
@OneOf(OneOfEntry(UgcMusicRecord::class, "music_record"))
|
||||
var record: OneOfType
|
||||
@OneOf(OneOfEntry(UgcMusicBriefInfo::class, "music_brief_info"))
|
||||
var brief: OneOfType
|
||||
}
|
@ -1,19 +0,0 @@
|
||||
package data.city_reputation
|
||||
|
||||
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 CityReputationInfo {
|
||||
var exp: Int
|
||||
var exploreInfo: CityReputationExploreInfo
|
||||
var huntInfo: CityReputationHuntInfo
|
||||
var level: Int
|
||||
var nextRefreshTime: Int
|
||||
var questInfo: CityReputationQuestInfo
|
||||
var requestInfo: CityReputationRequestInfo
|
||||
var takenLevelRewardList: List<Int>
|
||||
var totalAcceptRequestNum: Int
|
||||
}
|
@ -1,73 +0,0 @@
|
||||
package data.gallery
|
||||
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
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.ProtoModel
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_4_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_0_0
|
||||
import org.anime_game_servers.core.base.Version.GI_2_1_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_6_0
|
||||
import org.anime_game_servers.core.base.Version.GI_2_7_0
|
||||
import org.anime_game_servers.core.base.Version.GI_2_8_0
|
||||
import org.anime_game_servers.core.base.Version.GI_3_0_0
|
||||
import org.anime_game_servers.core.base.Version.GI_3_1_0
|
||||
import org.anime_game_servers.core.base.Version.GI_3_2_0
|
||||
|
||||
@AddedIn(GI_1_4_0)
|
||||
@ProtoModel
|
||||
internal interface SceneGalleryInfo {
|
||||
var galleryId: Int
|
||||
var endTime: Int
|
||||
@AddedIn(GI_3_2_0)
|
||||
var startTime: Int
|
||||
var stage: GalleryStageType
|
||||
var preStartEndTime: Int
|
||||
@AddedIn(GI_1_6_0)
|
||||
var progressInfoList: List<SceneGalleryProgressInfo>
|
||||
@AddedIn(GI_1_6_0)
|
||||
var playerCount: Int
|
||||
@AddedIn(GI_2_3_0)
|
||||
var ownerUid: Int
|
||||
|
||||
@OneOf(
|
||||
OneOfEntry(SceneGalleryBalloonInfo::class, "balloon_info"),
|
||||
OneOfEntry(SceneGalleryFallInfo::class, "fall_info"),
|
||||
OneOfEntry(SceneGalleryFlowerInfo::class, "flower_info"),
|
||||
OneOfEntry(SceneGalleryBulletInfo::class, "bullet_info"),
|
||||
OneOfEntry(SceneGalleryBrokenFloorInfo::class, "broken_floor_info"),
|
||||
OneOfEntry(SceneGalleryHideAndSeekInfo::class, "hide_and_seek_info", addedIn = GI_1_5_0),
|
||||
OneOfEntry(SceneGalleryBuoyantCombatInfo::class, "buoyant_combat_info", addedIn = GI_1_6_0),
|
||||
OneOfEntry(SceneGalleryBounceConjuringInfo::class, "bounce_conjuring_info", addedIn = GI_1_6_0),
|
||||
OneOfEntry(SceneGalleryHandballInfo::class, "handball_info", addedIn = GI_2_0_0),
|
||||
OneOfEntry(SceneGallerySumoInfo::class, "sumo_info", addedIn = GI_2_1_0),
|
||||
OneOfEntry(SceneGallerySalvagePreventInfo::class, "salvage_prevent_info", addedIn = GI_2_4_0),
|
||||
OneOfEntry(SceneGallerySalvageEscortInfo::class, "salvage_escort_info", addedIn = GI_2_4_0),
|
||||
OneOfEntry(SceneGalleryHomeBalloonInfo::class, "home_balloon_info", addedIn = GI_2_6_0),
|
||||
OneOfEntry(SceneGalleryCrystalLinkInfo::class, "crystal_link_info", addedIn = GI_2_6_0),
|
||||
OneOfEntry(SceneGalleryIrodoriMasterInfo::class, "irodori_master_info", addedIn = GI_2_6_0),
|
||||
OneOfEntry(SceneGalleryLuminanceStoneChallengeInfo::class, "luminance_stone_challenge_info", addedIn = GI_2_7_0),
|
||||
OneOfEntry(SceneGalleryHomeSeekFurnitureInfo::class, "home_seek_furniture_info", addedIn = GI_2_7_0),
|
||||
OneOfEntry(SceneGallerySummerTimeV2BoatInfo::class, "summer_time_v2_boat_info", addedIn = GI_2_8_0),
|
||||
OneOfEntry(SceneGalleryIslandPartyDownHillInfo::class, "island_party_down_hill_info", addedIn = GI_2_8_0),
|
||||
OneOfEntry(SceneGalleryIslandPartyRaftInfo::class, "island_party_raft_info", addedIn = GI_2_8_0),
|
||||
OneOfEntry(SceneGalleryIslandPartySailInfo::class, "island_party_sail_info", addedIn = GI_2_8_0),
|
||||
OneOfEntry(SceneGalleryInstableSprayInfo::class, "instable_spray_info", addedIn = GI_3_0_0),
|
||||
OneOfEntry(SceneGalleryMuqadasPotionInfo::class, "muqadas_potion_info", addedIn = GI_3_0_0),
|
||||
OneOfEntry(SceneGalleryTreasureSeelieInfo::class, "treasure_seelie_info", addedIn = GI_3_0_0),
|
||||
OneOfEntry(SceneGalleryVintageHuntingInfo::class, "vintage_hunting_info", addedIn = GI_3_1_0),
|
||||
OneOfEntry(SceneGalleryWindFieldInfo::class, "wind_field_info", addedIn = GI_3_1_0),
|
||||
OneOfEntry(SceneGalleryFungusFighterTrainingInfo::class, "fungus_fighter_training_info", addedIn = GI_3_2_0),
|
||||
OneOfEntry(SceneGalleryFungusFighterCaptureInfo::class, "fungus_fighter_capture_info", addedIn = GI_3_2_0),
|
||||
OneOfEntry(SceneGalleryEffigyChallengeV2Info::class, "effigy_challenge_info", addedIn = GI_3_2_0),
|
||||
OneOfEntry(SceneGalleryCharAmusementInfo::class, "char_amusement_info", addedIn = GI_3_2_0),
|
||||
)
|
||||
|
||||
var info: OneOfType
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
package data.general.ability
|
||||
|
||||
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.ProtoModel
|
||||
|
||||
@AddedIn(Version.GI_CB1)
|
||||
@ProtoModel
|
||||
internal interface AbilitySyncStateInfo {
|
||||
var isInited: Boolean
|
||||
var dynamicValueMap: List<AbilityScalarValueEntry>
|
||||
var appliedAbilities: List<AbilityAppliedAbility>
|
||||
var appliedModifiers: List<AbilityAppliedModifier>
|
||||
var mixinRecoverInfos: List<AbilityMixinRecoverInfo>
|
||||
var sgvDynamicValueMap: List<AbilityScalarValueEntry>
|
||||
}
|
@ -1,15 +0,0 @@
|
||||
package data.general.avatar
|
||||
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import data.general.item.Item
|
||||
import org.anime_game_servers.core.base.Version
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoModel
|
||||
|
||||
@AddedIn(Version.GI_CB1)
|
||||
@ProtoModel
|
||||
internal interface TrialAvatarInfo {
|
||||
var trialAvatarId: Int
|
||||
var trialEquipList: List<Item>
|
||||
@AddedIn(Version.GI_CB2)
|
||||
var grantRecord: TrialAvatarGrantRecord
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
package data.general.entity
|
||||
|
||||
import data.scene.entity.GadgetBornType
|
||||
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.ProtoModel
|
||||
|
||||
@AddedIn(Version.GI_CB1)
|
||||
@ProtoModel
|
||||
internal interface CreateGadgetInfo {
|
||||
var bornType: GadgetBornType
|
||||
var chest: Chest
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
package data.general.item
|
||||
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoModel
|
||||
|
||||
@ProtoModel
|
||||
interface EquipParamList {
|
||||
var itemList: List<EquipParam>
|
||||
}
|
@ -1,21 +0,0 @@
|
||||
package data.item.combine
|
||||
|
||||
import data.general.item.ItemParam
|
||||
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 CombineRsp {
|
||||
var avatarGuid: Long
|
||||
var combineCount: Int
|
||||
var combineId: Int
|
||||
var costItemList: List<ItemParam>
|
||||
var resultItemList: List<ItemParam>
|
||||
var totalExtraItemList: List<ItemParam>
|
||||
var totalRandomItemList: List<ItemParam>
|
||||
var totalReturnItemList: List<ItemParam>
|
||||
var retCode: Int
|
||||
}
|
@ -1,17 +0,0 @@
|
||||
package data.item.forge
|
||||
|
||||
import data.general.item.ItemParam
|
||||
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 ForgeQueueManipulateRsp {
|
||||
var extraOutputItemList: List<ItemParam>
|
||||
var manipulateType: ForgeQueueManipulateType
|
||||
var outputItemList: List<ItemParam>
|
||||
var returnItemList: List<ItemParam>
|
||||
var retCode: Int
|
||||
}
|
@ -1,14 +0,0 @@
|
||||
package data.mail
|
||||
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import data.general.item.EquipParam
|
||||
import data.general.item.MaterialDeleteInfo
|
||||
import org.anime_game_servers.core.base.Version
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoModel
|
||||
|
||||
@AddedIn(Version.GI_0_9_0)
|
||||
@ProtoModel
|
||||
interface MailItem {
|
||||
var equipParam: EquipParam
|
||||
var deleteInfo: MaterialDeleteInfo
|
||||
}
|
@ -1,23 +0,0 @@
|
||||
package data.scene
|
||||
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import data.general.ability.AbilitySyncStateInfo
|
||||
import data.general.ability.ServerBuff
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoModel
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_CB1
|
||||
import org.anime_game_servers.core.base.Version.GI_0_9_0
|
||||
|
||||
@AddedIn(GI_CB1)
|
||||
@ProtoModel
|
||||
internal interface AvatarEnterSceneInfo {
|
||||
var avatarGuid: Long
|
||||
var avatarEntityId: Int
|
||||
var avatarAbilityInfo: AbilitySyncStateInfo
|
||||
var buffIdList: List<Int>
|
||||
var weaponGuid: Long
|
||||
var weaponEntityId: Int
|
||||
var weaponAbilityInfo: AbilitySyncStateInfo
|
||||
@AddedIn(GI_0_9_0)
|
||||
var serverBuffList: List<ServerBuff>
|
||||
}
|
@ -1,45 +0,0 @@
|
||||
package data.scene
|
||||
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import data.general.ability.AbilityControlBlock
|
||||
import data.general.ability.AbilitySyncStateInfo
|
||||
import data.general.ability.ServerBuff
|
||||
import data.general.avatar.AvatarInfo
|
||||
import data.scene.entity.SceneAvatarInfo
|
||||
import data.scene.entity.SceneEntityInfo
|
||||
import org.anime_game_servers.core.base.Version
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoModel
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_0_0
|
||||
import org.anime_game_servers.core.base.Version.GI_1_1_0
|
||||
|
||||
@AddedIn(Version.GI_CB2)
|
||||
@ProtoModel
|
||||
internal interface SceneTeamAvatar {
|
||||
var playerUid: Int
|
||||
var avatarGuid: Long
|
||||
var sceneId: Int
|
||||
var entityId: Int
|
||||
var avatarInfo: AvatarInfo
|
||||
var sceneAvatarInfo: SceneAvatarInfo
|
||||
@AddedIn(GI_1_0_0)
|
||||
var avatarAbilityInfo: AbilitySyncStateInfo
|
||||
@AddedIn(GI_1_0_0)
|
||||
var serverBuffList: List<ServerBuff>
|
||||
@AddedIn(GI_1_0_0)
|
||||
var weaponGuid: Long
|
||||
@AddedIn(GI_1_0_0)
|
||||
var weaponEntityId: Int
|
||||
@AddedIn(GI_1_0_0)
|
||||
var weaponAbilityInfo: AbilitySyncStateInfo
|
||||
@AddedIn(GI_1_0_0)
|
||||
var abilityControlBlock: AbilityControlBlock
|
||||
@AddedIn(GI_1_0_0)
|
||||
var isReconnect: Boolean
|
||||
@AddedIn(GI_1_1_0)
|
||||
var sceneEntityInfo: SceneEntityInfo
|
||||
@AddedIn(GI_1_1_0)
|
||||
var isOnScene: Boolean
|
||||
@AddedIn(GI_1_1_0)
|
||||
var isPlayerCurAvatar: Boolean
|
||||
}
|
@ -1,18 +0,0 @@
|
||||
package data.scene
|
||||
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import data.general.ability.AbilityControlBlock
|
||||
import data.general.ability.AbilitySyncStateInfo
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoModel
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_CB1
|
||||
import org.anime_game_servers.core.base.Version.GI_1_6_0
|
||||
|
||||
@AddedIn(GI_CB1)
|
||||
@ProtoModel
|
||||
internal interface TeamEnterSceneInfo {
|
||||
var teamEntityId: Int
|
||||
var teamAbilityInfo: AbilitySyncStateInfo
|
||||
@AddedIn(GI_1_6_0)
|
||||
var abilityControlBlock: AbilityControlBlock
|
||||
}
|
@ -1,18 +0,0 @@
|
||||
package data.scene.entity
|
||||
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import data.general.Vector
|
||||
import data.general.ability.AbilitySyncStateInfo
|
||||
import org.anime_game_servers.core.base.Version
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoModel
|
||||
|
||||
@AddedIn(Version.GI_1_0_0)
|
||||
@ProtoModel
|
||||
internal interface EntityAuthorityInfo {
|
||||
var abilityInfo: AbilitySyncStateInfo
|
||||
var rendererChangedInfo: EntityRendererChangedInfo
|
||||
var aiInfo: SceneEntityAiInfo
|
||||
var bornPos: Vector
|
||||
var poseParaList: List<AnimatorParameterValueInfoPair>
|
||||
var clientExtraInfo: EntityClientExtraInfo
|
||||
}
|
@ -1,72 +0,0 @@
|
||||
package data.scene.entity
|
||||
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.RemovedIn
|
||||
import data.general.PropValue
|
||||
import data.general.ability.AbilitySyncStateInfo
|
||||
import data.general.ability.ServerBuff
|
||||
import org.anime_game_servers.core.base.Version
|
||||
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.ProtoModel
|
||||
|
||||
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_2_0
|
||||
import org.anime_game_servers.core.base.Version.GI_1_3_0
|
||||
import org.anime_game_servers.core.base.Version.GI_1_4_0
|
||||
import org.anime_game_servers.core.base.Version.GI_2_2_0
|
||||
|
||||
@AddedIn(Version.GI_CB1)
|
||||
@ProtoModel
|
||||
internal interface SceneEntityInfo {
|
||||
var entityType: ProtEntityType
|
||||
var entityId: Int
|
||||
var name: String
|
||||
var motionInfo: MotionInfo
|
||||
@RemovedIn(GI_1_0_0)
|
||||
var propMap: Map<Int, PropValue>
|
||||
@AddedIn(GI_1_0_0)
|
||||
var propList: List<PropPair>
|
||||
@RemovedIn(GI_1_0_0)
|
||||
var fightPropMap: Map<Int, Float>
|
||||
@AddedIn(GI_1_0_0)
|
||||
var fightPropList: List<FightPropPair>
|
||||
var lifeState: Int
|
||||
@RemovedIn(GI_1_3_0)
|
||||
var abilityInfo: AbilitySyncStateInfo
|
||||
@RemovedIn(GI_1_0_0)
|
||||
var animatorParaMap: Map<Int, AnimatorParameterValueInfo>
|
||||
@AddedIn(GI_1_0_0)
|
||||
var animatorParaList: List<AnimatorParameterValueInfoPair>
|
||||
@RemovedIn(GI_0_9_0)
|
||||
var questInfo: SceneEntityQuestInfo
|
||||
@RemovedIn(GI_1_3_0)
|
||||
var rendererChangeInfo: EntityRendererChangedInfo
|
||||
@AddedIn(GI_1_3_0)
|
||||
var aiInfo: SceneEntityAiInfo
|
||||
@AddedIn(GI_CB2)
|
||||
var lastMoveSceneTimeMs: Int
|
||||
@AddedIn(GI_CB2)
|
||||
var lastMoveReliableSeq: Int
|
||||
@AddedIn(GI_0_9_0)
|
||||
var entityClientData: EntityClientData
|
||||
@AddedIn(GI_1_2_0)
|
||||
var entityEnvironmentInfoList: List<EntityEnvironmentInfo>
|
||||
@AddedIn(GI_1_3_0)
|
||||
var entityAuthorityInfo: EntityAuthorityInfo
|
||||
@AddedIn(GI_1_4_0)
|
||||
var tagList: List<String>
|
||||
@AddedIn(GI_2_2_0)
|
||||
var serverBuffList: List<ServerBuff>
|
||||
|
||||
@OneOf(
|
||||
OneOfEntry(SceneAvatarInfo::class, "avatar"),
|
||||
OneOfEntry(SceneMonsterInfo::class, "monster"),
|
||||
OneOfEntry(SceneNpcInfo::class, "npc"),
|
||||
OneOfEntry(SceneGadgetInfo::class, "gadget"),
|
||||
)
|
||||
var entity: OneOfType
|
||||
}
|
@ -1,91 +0,0 @@
|
||||
package data.scene.entity
|
||||
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import org.anime_game_servers.core.base.annotations.RemovedIn
|
||||
import data.activity.echo_shell.EchoShellInfo
|
||||
import data.gadget.BlossomChestInfo
|
||||
import data.gadget.FoundationInfo
|
||||
import data.gadget.GadgetGeneralRewardInfo
|
||||
import data.general.CustomGadgetTreeInfo
|
||||
import data.general.RoutePoint
|
||||
import data.general.item.Item
|
||||
import data.general.vehicle.VehicleInfo
|
||||
import messages.*
|
||||
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.ProtoModel
|
||||
|
||||
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.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_2_0
|
||||
import org.anime_game_servers.core.base.Version.GI_1_3_0
|
||||
import org.anime_game_servers.core.base.Version.GI_1_4_0
|
||||
import org.anime_game_servers.core.base.Version.GI_1_6_0
|
||||
import org.anime_game_servers.core.base.Version.GI_2_0_0
|
||||
import org.anime_game_servers.core.base.Version.GI_2_1_0
|
||||
import org.anime_game_servers.core.base.Version.GI_2_2_0
|
||||
import org.anime_game_servers.core.base.Version.GI_2_8_0
|
||||
import org.anime_game_servers.core.base.Version.GI_3_0_0
|
||||
import org.anime_game_servers.core.base.Version.GI_3_8_0
|
||||
|
||||
@AddedIn(GI_CB1)
|
||||
@ProtoModel
|
||||
internal interface SceneGadgetInfo {
|
||||
var gadgetId: Int
|
||||
var groupId: Int
|
||||
var configId: Int
|
||||
var ownerEntityId: Int
|
||||
var bornType: GadgetBornType
|
||||
var gadgetState: Int
|
||||
var gadgetType: Int
|
||||
var isShowCutscene: Boolean
|
||||
var authorityPeerId: Int
|
||||
var isEnableInteract: Boolean
|
||||
@AddedIn(GI_CB2)
|
||||
var interactId: Int
|
||||
@AddedIn(GI_0_9_0)
|
||||
var markFlag: Int
|
||||
@AddedIn(GI_1_0_0)
|
||||
var propOwnerEntityId: Int
|
||||
@AddedIn(GI_1_3_0)
|
||||
var platform: PlatformInfo
|
||||
@AddedIn(GI_1_3_0)
|
||||
var interactUidList: List<Int>
|
||||
@AddedIn(GI_1_4_0)
|
||||
var draftId: Int
|
||||
@AddedIn(GI_1_4_0)
|
||||
var gadgetTalkState: Int
|
||||
@AddedIn(GI_0_9_0)
|
||||
var playInfo: GadgetPlayInfo
|
||||
|
||||
@OneOf(
|
||||
OneOfEntry(Item::class, "trifle_item"),
|
||||
OneOfEntry(Int::class, "item_id", removedIn = GI_CB2),
|
||||
OneOfEntry(GatherGadgetInfo::class, "gather_gadget", addedIn = GI_CB2),
|
||||
OneOfEntry(WorktopInfo::class, "worktop"),
|
||||
OneOfEntry(ClientGadgetInfo::class, "client_gadget"),
|
||||
OneOfEntry(PlatformInfo::class, "item_id", removedIn = GI_1_3_0),
|
||||
OneOfEntry(WeatherInfo::class, "weather"),
|
||||
OneOfEntry(AbilityGadgetInfo::class, "ability_gadget"),
|
||||
OneOfEntry(StatueGadgetInfo::class, "statue_gadget", addedIn = GI_CB2),
|
||||
OneOfEntry(BossChestInfo::class, "boss_chest", addedIn = GI_0_9_0),
|
||||
OneOfEntry(BlossomChestInfo::class, "blossom_chest", addedIn = GI_0_9_0),
|
||||
OneOfEntry(MpPlayRewardInfo::class, "mp_play_reward", addedIn = GI_0_9_0),
|
||||
OneOfEntry(GadgetGeneralRewardInfo::class, "general_reward", addedIn = GI_1_1_0),
|
||||
OneOfEntry(OfferingInfo::class, "offering_info", addedIn = GI_1_2_0),
|
||||
OneOfEntry(FoundationInfo::class, "foundation_info", addedIn = GI_1_3_0),
|
||||
OneOfEntry(VehicleInfo::class, "vehicle_info", addedIn = GI_1_6_0),
|
||||
OneOfEntry(EchoShellInfo::class, "shell_info", addedIn = GI_1_6_0),
|
||||
OneOfEntry(ScreenInfo::class, "screen_info", addedIn = GI_2_0_0),
|
||||
OneOfEntry(FishPoolInfo::class, "custom_gadget_tree_info", addedIn = GI_2_1_0),
|
||||
OneOfEntry(CustomGadgetTreeInfo::class, "custom_gadget_tree_info", addedIn = GI_2_2_0),
|
||||
OneOfEntry(RoguelikeGadgetInfo::class, "roguelike_gadget_info", addedIn = GI_2_2_0),
|
||||
OneOfEntry(NightCrowGadgetInfo::class, "night_crow_gadget_info", addedIn = GI_2_8_0),
|
||||
OneOfEntry(DeshretObeliskGadgetInfo::class, "deshret_obelisk_gadget_info", addedIn = GI_3_8_0),
|
||||
)
|
||||
var content: OneOfType
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
package data.shop
|
||||
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import data.general.item.ItemParam
|
||||
import org.anime_game_servers.core.base.Version
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoModel
|
||||
|
||||
@AddedIn(Version.GI_1_2_0)
|
||||
@ProtoModel("ShopCardProduct")
|
||||
internal interface ResinCard {
|
||||
var baseItemList: List<ItemParam>
|
||||
var perDayItemList: List<ItemParam>
|
||||
}
|
@ -1,169 +0,0 @@
|
||||
package messages
|
||||
import messages.activity.music_game.MusicGameActivityDetailInfo
|
||||
import messages.activity.summer_time.SummerTimeDetailInfo
|
||||
import org.anime_game_servers.core.base.Version
|
||||
import org.anime_game_servers.multi_proto.core.interfaces.ProtoModel
|
||||
import org.anime_game_servers.multi_proto.core.interfaces.ProtoModelDecoder
|
||||
import pbandk.decodeFromByteArray
|
||||
import pbandk.encodeToByteArray
|
||||
import protos.V3_2.ActivityInfo
|
||||
import kotlin.jvm.JvmOverloads
|
||||
import kotlin.jvm.JvmStatic
|
||||
|
||||
data class ActivityInfoTest @JvmOverloads constructor(
|
||||
var isFinished: Boolean = false,
|
||||
var activityType: Int = 0,
|
||||
var beginTime: Int = 0,
|
||||
var takenRewardList: List<Int> = emptyList(),
|
||||
var isHidden: Boolean = false,
|
||||
var isQuickOpen: Boolean = false,
|
||||
var meetCondList: List<Int> = emptyList(),
|
||||
var activityCoinMap: Map<Int, Int> = emptyMap(),
|
||||
var isBannerCleared: Boolean = false,
|
||||
var curScore: Int = 0,
|
||||
var firstDayStartTime: Int = 0,
|
||||
var activityId: Int = 0,
|
||||
var isPlayOpenAnim: Boolean = false,
|
||||
var endTime: Int = 0,
|
||||
var scoreLimit: Int = 0,
|
||||
var wishGiftNumMap: Map<Int, Int> = emptyMap(),
|
||||
var selectedAvatarRewardId: Int = 0,
|
||||
var isCommonContentClosed: Boolean = false,
|
||||
var expireCondList: List<Int> = emptyList(),
|
||||
//var activityPushTipsDataList: List<ActivityPushTipsData> = emptyList(),
|
||||
//var watcherInfoList: List<ActivityWatcherInfo> = emptyList(),
|
||||
var scheduleId: Int = 0,
|
||||
var isStarting: Boolean = false,
|
||||
var detail: Detail<*> = Detail.UnknownDetailInfo(),
|
||||
): ProtoModel {
|
||||
public sealed class Detail<T: ProtoModel>(val value: T) : ProtoModel{
|
||||
public class MusicGameActivityDetailInfo(musicGameInfo: messages.activity.music_game.MusicGameActivityDetailInfo) : Detail<messages.activity.music_game.MusicGameActivityDetailInfo>(musicGameInfo)
|
||||
public class SummerTimeDetailInfo(summerTimeInfo: messages.activity.summer_time.SummerTimeDetailInfo) : Detail<messages.activity.summer_time.SummerTimeDetailInfo>(summerTimeInfo)
|
||||
public class UnknownDetailInfo() : Detail<UnknownDetail>(UnknownDetail())
|
||||
|
||||
public class UnknownDetail(): ProtoModel {
|
||||
override fun encodeToByteArray(version: Version): ByteArray? = null
|
||||
}
|
||||
|
||||
override fun encodeToByteArray(version: Version): ByteArray? {
|
||||
return value.encodeToByteArray(version)
|
||||
}
|
||||
|
||||
internal fun encodeToV3_2(): protos.V3_2.ActivityInfo.Detail<*>?{
|
||||
return when (this) {
|
||||
is MusicGameActivityDetailInfo -> value.encodeToV3_2().let {
|
||||
protos.V3_2.ActivityInfo.Detail.MusicGameInfo(it)
|
||||
}
|
||||
is SummerTimeDetailInfo -> value.encodeToV3_2().let {
|
||||
protos.V3_2.ActivityInfo.Detail.SummerTimeInfo(it)
|
||||
}
|
||||
is UnknownDetailInfo -> null
|
||||
}
|
||||
}
|
||||
companion object {
|
||||
internal fun parseByV3_2(value: protos.V3_2.ActivityInfo.Detail<*>) : Detail<*> {
|
||||
return when (value) {
|
||||
is protos.V3_2.ActivityInfo.Detail.MusicGameInfo -> MusicGameActivityDetailInfo(messages.activity.music_game.MusicGameActivityDetailInfo.parseByV3_2(value.value))
|
||||
is protos.V3_2.ActivityInfo.Detail.SummerTimeInfo -> SummerTimeDetailInfo(messages.activity.summer_time.SummerTimeDetailInfo.parseByV3_2(value.value))
|
||||
else -> UnknownDetailInfo()
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
var musicGameInfo : MusicGameActivityDetailInfo?
|
||||
get() = (detail as? Detail.MusicGameActivityDetailInfo)?.value
|
||||
set(value) = if (value != null) {
|
||||
detail = Detail.MusicGameActivityDetailInfo(value)
|
||||
} else {
|
||||
detail = Detail.UnknownDetailInfo()
|
||||
}
|
||||
var summerTimeInfo : SummerTimeDetailInfo?
|
||||
get() = (detail as? Detail.SummerTimeDetailInfo)?.value
|
||||
set(value) = if (value != null) {
|
||||
detail = Detail.SummerTimeDetailInfo(value)
|
||||
} else {
|
||||
detail = Detail.UnknownDetailInfo()
|
||||
}
|
||||
|
||||
override fun encodeToByteArray(version: Version) : ByteArray? {
|
||||
return when (version.namespace) {
|
||||
"V3_2" -> encodeToV3_2().encodeToByteArray()
|
||||
else -> null
|
||||
}
|
||||
}
|
||||
internal fun encodeToV3_2() : protos.V3_2.ActivityInfo {
|
||||
return protos.V3_2.ActivityInfo(
|
||||
isFinished = isFinished,
|
||||
activityType = activityType,
|
||||
beginTime = beginTime,
|
||||
takenRewardList = takenRewardList,
|
||||
isHidden = isHidden,
|
||||
isQuickOpen = isQuickOpen,
|
||||
meetCondList = meetCondList,
|
||||
activityCoinMap = activityCoinMap.map { ActivityInfo.ActivityCoinMapEntry(it.key, it.value) },
|
||||
isBannerCleared = isBannerCleared,
|
||||
curScore = curScore,
|
||||
firstDayStartTime = firstDayStartTime,
|
||||
activityId = activityId,
|
||||
isPlayOpenAnim = isPlayOpenAnim,
|
||||
endTime = endTime,
|
||||
scoreLimit = scoreLimit,
|
||||
|
||||
selectedAvatarRewardId = selectedAvatarRewardId,
|
||||
isCommonContentClosed = isCommonContentClosed,
|
||||
expireCondList = expireCondList,
|
||||
//activityPushTipsDataList = activityPushTipsDataList.map { it.encodeToV3_2() },
|
||||
//watcherInfoList = watcherInfoList.map { it.encodeToV3_2() },
|
||||
scheduleId = scheduleId,
|
||||
isStarting = isStarting,
|
||||
detail = detail.encodeToV3_2(),
|
||||
)
|
||||
}
|
||||
companion object : ProtoModelDecoder<ActivityInfoTest> {
|
||||
@JvmStatic
|
||||
override fun parseBy(data: ByteArray, version: Version): ActivityInfoTest {
|
||||
return when(version.namespace) {
|
||||
"V3_2" -> {
|
||||
return parseByV3_2(data)
|
||||
}
|
||||
else -> ActivityInfoTest()
|
||||
}
|
||||
}
|
||||
internal fun parseByV3_2(data:ByteArray) : ActivityInfoTest {
|
||||
return parseByV3_2(protos.V3_2.ActivityInfo.decodeFromByteArray(data))
|
||||
}
|
||||
internal fun parseByV3_2(proto:protos.V3_2.ActivityInfo) : ActivityInfoTest {
|
||||
return ActivityInfoTest(
|
||||
isFinished = proto.isFinished,
|
||||
activityType = proto.activityType,
|
||||
beginTime = proto.beginTime,
|
||||
takenRewardList = proto.takenRewardList,
|
||||
isHidden = proto.isHidden,
|
||||
isQuickOpen = proto.isQuickOpen,
|
||||
meetCondList = proto.meetCondList,
|
||||
activityCoinMap = proto.activityCoinMap.associateByTo(mutableMapOf(), { it.key }, { it.value }),
|
||||
isBannerCleared = proto.isBannerCleared,
|
||||
curScore = proto.curScore,
|
||||
firstDayStartTime = proto.firstDayStartTime,
|
||||
activityId = proto.activityId,
|
||||
isPlayOpenAnim = proto.isPlayOpenAnim,
|
||||
endTime = proto.endTime,
|
||||
scoreLimit = proto.scoreLimit,
|
||||
wishGiftNumMap = proto.wishGiftNumMap.associateByTo(mutableMapOf(), { it.key }, { it.value }),
|
||||
selectedAvatarRewardId = proto.selectedAvatarRewardId,
|
||||
isCommonContentClosed = proto.isCommonContentClosed,
|
||||
expireCondList = proto.expireCondList,
|
||||
//activityPushTipsDataList = proto.activityPushTipsDataList.map { messages.ActivityPushTipsData.parseByV3_2(it) },
|
||||
//watcherInfoList = proto.watcherInfoList.map { messages.ActivityWatcherInfo.parseByV3_2(it) },
|
||||
scheduleId = proto.scheduleId,
|
||||
isStarting = proto.isStarting,
|
||||
detail = proto.detail?.let {
|
||||
Detail.parseByV3_2(it)
|
||||
}?: Detail.UnknownDetailInfo()
|
||||
)
|
||||
}
|
||||
|
||||
}
|
||||
}
|
@ -1,42 +0,0 @@
|
||||
package messages
|
||||
|
||||
import org.anime_game_servers.core.base.Version
|
||||
|
||||
enum class ActivityPushTipsStateTest {
|
||||
ACTIVITY_PUSH_TIPS_STATE_NONE,
|
||||
ACTIVITY_PUSH_TIPS_STATE_START,
|
||||
ACTIVITY_PUSH_TIPS_STATE_READ,
|
||||
UNRECOGNISED;
|
||||
|
||||
fun encodeToByteArray(version: Version): Int?{
|
||||
return when (version.namespace) {
|
||||
"V3_2" -> encodeToV3_2().value
|
||||
else -> null
|
||||
}
|
||||
}
|
||||
|
||||
fun encodeToV3_2() : protos.V3_2.ActivityPushTipsState {
|
||||
return protos.V3_2.ActivityPushTipsState.fromName(name)
|
||||
}
|
||||
|
||||
companion object{
|
||||
fun parseBy(value:Int, version: Version): ActivityPushTipsStateTest {
|
||||
return when(version.namespace) {
|
||||
"V3_2" -> {
|
||||
parseByV3_2(value)
|
||||
}
|
||||
else -> {
|
||||
ACTIVITY_PUSH_TIPS_STATE_NONE
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fun parseByV3_2(value:Int) : ActivityPushTipsStateTest {
|
||||
val parsed = protos.V3_2.ActivityPushTipsState.fromValue(value)
|
||||
|
||||
return parsed.name?.let {
|
||||
ActivityPushTipsStateTest.valueOf(it)
|
||||
} ?: UNRECOGNISED
|
||||
}
|
||||
}
|
||||
}
|
@ -1,49 +0,0 @@
|
||||
package messages
|
||||
|
||||
import data.BoolDefault
|
||||
import data.IntDefault
|
||||
import data.activity.summer_time_v2.SummerTimeV2BoatStageInfo
|
||||
import org.anime_game_servers.core.base.Version
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import pbandk.decodeFromByteArray
|
||||
import pbandk.encodeToByteArray
|
||||
|
||||
@AddedIn(Version.GI_2_8_0)
|
||||
data class SummerTimeV2BoatStageInfoTest(
|
||||
override var openTime: Int = IntDefault,
|
||||
override var isOpen: Boolean = BoolDefault,
|
||||
override var stageId: Int = IntDefault,
|
||||
override var bestScore: Int = IntDefault
|
||||
) : SummerTimeV2BoatStageInfo {
|
||||
|
||||
|
||||
companion object {
|
||||
fun parseBy(data:ByteArray,version: Version) : SummerTimeV2BoatStageInfoTest?{
|
||||
return when (version.namespace) {
|
||||
Version.GI_3_2_0.namespace -> parseV3_2(data)
|
||||
//VERSION.V3_3_0.namespace -> parseV3_3(data)
|
||||
else -> return SummerTimeV2BoatStageInfoTest()
|
||||
}
|
||||
}
|
||||
|
||||
private fun parseV3_2(data:ByteArray) : SummerTimeV2BoatStageInfoTest{
|
||||
val parsed =protos.V3_2.SummerTimeV2BoatStageInfo.decodeFromByteArray(data)
|
||||
return SummerTimeV2BoatStageInfoTest(parsed.openTime, parsed.isOpen, parsed.stageId, parsed.bestScore)
|
||||
}
|
||||
/*private fun parseV3_3(data:ByteArray) : SummerTimeV2BoatStageInfoTest{
|
||||
val parsed =protos.V3_3.SummerTimeV2BoatStageInfo.decodeFromByteArray(data)
|
||||
|
||||
val test =ActivityInfo()
|
||||
test.activityCoinMap.associateByTo(mutableMapOf(), {it.key},{it.value})
|
||||
return SummerTimeV2BoatStageInfoTest(parsed.openTime, parsed.isOpen, parsed.stageId, parsed.bestScore)
|
||||
}*/
|
||||
}
|
||||
|
||||
fun encodeToByteArray(version: Version): ByteArray? {
|
||||
return when (version.namespace) {
|
||||
Version.GI_3_2_0.namespace -> protos.V3_2.SummerTimeV2BoatStageInfo(openTime, isOpen, stageId, bestScore).encodeToByteArray()
|
||||
//VERSION.V3_3_0.namespace -> protos.V3_3.SummerTimeV2BoatStageInfo(openTime, isOpen, stageId, bestScore).encodeToByteArray()
|
||||
else -> null
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data
|
||||
|
||||
internal const val IntDefault = 0
|
||||
internal const val BoolDefault = false
|
@ -1,4 +1,4 @@
|
||||
package data.ability
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_CB2
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
@ -1,6 +1,6 @@
|
||||
package data.ability
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability
|
||||
|
||||
import data.general.Vector
|
||||
import org.anime_game_servers.multi_proto.gi.data.general.Vector
|
||||
import org.anime_game_servers.core.base.Version.GI_1_3_0
|
||||
import org.anime_game_servers.core.base.Version.GI_CB1
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
@ -1,7 +1,7 @@
|
||||
package data.ability
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability
|
||||
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
import data.general.ability.AbilityControlBlock
|
||||
import org.anime_game_servers.multi_proto.gi.data.general.ability.AbilityControlBlock
|
||||
import org.anime_game_servers.core.base.Version
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
@ -11,5 +11,5 @@ import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
@ProtoCommand(CommandType.NOTIFY)
|
||||
internal interface AbilityChangeNotify {
|
||||
var entityId: Int
|
||||
var abilityControlBlock: AbilityControlBlock
|
||||
var abilityControlBlock: org.anime_game_servers.multi_proto.gi.data.general.ability.AbilityControlBlock
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
package data.ability
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_CB1
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
@ -9,6 +9,6 @@ import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
@ProtoCommand(NOTIFY)
|
||||
internal interface AbilityInvocationFailNotify {
|
||||
var entityId: Int
|
||||
var invoke: AbilityInvokeEntry
|
||||
var invoke: org.anime_game_servers.multi_proto.gi.data.ability.AbilityInvokeEntry
|
||||
var reason: String
|
||||
}
|
@ -0,0 +1,29 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability
|
||||
|
||||
import org.anime_game_servers.multi_proto.gi.data.battle.ForwardType
|
||||
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.RemovedIn
|
||||
import org.anime_game_servers.core.base.annotations.proto.CommandType.*
|
||||
import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
|
||||
@AddedIn(GI_CB1)
|
||||
@ProtoCommand(CLIENT)
|
||||
internal interface AbilityInvocationFixedNotify {
|
||||
@RemovedIn(GI_CB2)
|
||||
var entityId: Int
|
||||
@RemovedIn(GI_0_9_0)
|
||||
var forwardPeer: Int
|
||||
@RemovedIn(GI_0_9_0)
|
||||
var forwardPeers: List<Int>
|
||||
@RemovedIn(GI_0_9_0)
|
||||
var forwardType: org.anime_game_servers.multi_proto.gi.data.battle.ForwardType
|
||||
var invoke1st: org.anime_game_servers.multi_proto.gi.data.ability.AbilityInvokeEntry
|
||||
var invoke2nd: org.anime_game_servers.multi_proto.gi.data.ability.AbilityInvokeEntry
|
||||
var invoke3rd: org.anime_game_servers.multi_proto.gi.data.ability.AbilityInvokeEntry
|
||||
var invoke4th: org.anime_game_servers.multi_proto.gi.data.ability.AbilityInvokeEntry
|
||||
var invoke5th: org.anime_game_servers.multi_proto.gi.data.ability.AbilityInvokeEntry
|
||||
var invoke6th: org.anime_game_servers.multi_proto.gi.data.ability.AbilityInvokeEntry
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
package data.ability
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability
|
||||
|
||||
import data.battle.ForwardType
|
||||
import org.anime_game_servers.multi_proto.gi.data.battle.ForwardType
|
||||
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
|
||||
@ -19,6 +19,6 @@ internal interface AbilityInvocationsNotify {
|
||||
@RemovedIn(GI_0_9_0)
|
||||
var forwardPeers: List<Int>
|
||||
@RemovedIn(GI_0_9_0)
|
||||
var forwardType: ForwardType
|
||||
var invokes: List<AbilityInvokeEntry>
|
||||
var forwardType: org.anime_game_servers.multi_proto.gi.data.battle.ForwardType
|
||||
var invokes: List<org.anime_game_servers.multi_proto.gi.data.ability.AbilityInvokeEntry>
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
package data.ability
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_0_9_0
|
||||
import org.anime_game_servers.core.base.Version.GI_1_0_0
|
@ -1,6 +1,6 @@
|
||||
package data.ability
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability
|
||||
|
||||
import data.battle.ForwardType
|
||||
import org.anime_game_servers.multi_proto.gi.data.battle.ForwardType
|
||||
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_2_2_0
|
||||
@ -13,14 +13,14 @@ import org.anime_game_servers.core.base.annotations.proto.ProtoModel
|
||||
@ProtoModel
|
||||
internal interface AbilityInvokeEntry {
|
||||
var abilityData: ByteArray
|
||||
var argumentType: AbilityInvokeArgument
|
||||
var head: AbilityInvokeEntryHead
|
||||
var argumentType: org.anime_game_servers.multi_proto.gi.data.ability.AbilityInvokeArgument
|
||||
var head: org.anime_game_servers.multi_proto.gi.data.ability.AbilityInvokeEntryHead
|
||||
@AddedIn(GI_CB2)
|
||||
var entityId: Int
|
||||
@AddedIn(GI_0_9_0)
|
||||
var forwardPeer: Int
|
||||
@AddedIn(GI_0_9_0)
|
||||
var forwardType: ForwardType
|
||||
var forwardType: org.anime_game_servers.multi_proto.gi.data.battle.ForwardType
|
||||
@AddedIn(GI_1_0_0)
|
||||
var eventId: Int
|
||||
@AddedIn(GI_2_2_0)
|
@ -1,4 +1,4 @@
|
||||
package data.ability
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_5_0
|
||||
import org.anime_game_servers.core.base.Version.GI_CB1
|
@ -1,4 +1,4 @@
|
||||
package data.ability
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_0_0
|
||||
import org.anime_game_servers.core.base.Version.GI_CB1
|
||||
@ -11,5 +11,5 @@ import org.anime_game_servers.core.base.annotations.proto.ProtoModel
|
||||
@ProtoModel
|
||||
internal interface AbilityResetReason {
|
||||
var param: Int
|
||||
var reasonType: AbilityResetReasonType
|
||||
var reasonType: org.anime_game_servers.multi_proto.gi.data.ability.AbilityResetReasonType
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
package data.ability
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_0_9_0
|
||||
import org.anime_game_servers.core.base.Version.GI_1_0_0
|
@ -1,6 +1,6 @@
|
||||
package data.ability
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability
|
||||
|
||||
import data.general.Vector
|
||||
import org.anime_game_servers.multi_proto.gi.data.general.Vector
|
||||
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.ProtoModel
|
@ -1,4 +1,4 @@
|
||||
package data.ability
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_0_9_0
|
||||
import org.anime_game_servers.core.base.Version.GI_1_3_0
|
@ -1,4 +1,4 @@
|
||||
package data.ability
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_2_4_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
@ -1,4 +1,4 @@
|
||||
package data.ability
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_0_9_0
|
||||
import org.anime_game_servers.core.base.Version.GI_1_0_0
|
||||
@ -13,7 +13,7 @@ import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
@ProtoCommand(CLIENT)
|
||||
internal interface AvatarAbilityResetFinishNotify {
|
||||
var entityId: Int
|
||||
var resetReason: AbilityResetReason
|
||||
var resetReason: org.anime_game_servers.multi_proto.gi.data.ability.AbilityResetReason
|
||||
@AddedIn(GI_0_9_0)
|
||||
var invokes: List<AbilityInvokeEntry>
|
||||
var invokes: List<org.anime_game_servers.multi_proto.gi.data.ability.AbilityInvokeEntry>
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
package data.ability
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_0_9_0
|
||||
import org.anime_game_servers.core.base.Version.GI_1_0_0
|
||||
@ -14,7 +14,7 @@ import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
internal interface AvatarAbilityResetNotify {
|
||||
@RemovedIn(GI_0_9_0)
|
||||
var entityId: Int
|
||||
var resetReason: AbilityResetReason
|
||||
var resetReason: org.anime_game_servers.multi_proto.gi.data.ability.AbilityResetReason
|
||||
@AddedIn(GI_0_9_0)
|
||||
var entityIdList: List<Int>
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
package data.ability
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_4_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
@ -1,4 +1,4 @@
|
||||
package data.ability
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_CB2
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
@ -8,5 +8,5 @@ import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
@AddedIn(GI_CB2)
|
||||
@ProtoCommand(CLIENT)
|
||||
internal interface ClientAbilitiesInitFinishCombineNotify {
|
||||
var entityInvokeList: List<EntityAbilityInvokeEntry>
|
||||
var entityInvokeList: List<org.anime_game_servers.multi_proto.gi.data.ability.EntityAbilityInvokeEntry>
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
package data.ability
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_0_0
|
||||
import org.anime_game_servers.core.base.Version.GI_2_2_0
|
||||
@ -10,7 +10,7 @@ import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
@ProtoCommand(CLIENT)
|
||||
internal interface ClientAbilityChangeNotify {
|
||||
var entityId: Int
|
||||
var invokes: List<AbilityInvokeEntry>
|
||||
var invokes: List<org.anime_game_servers.multi_proto.gi.data.ability.AbilityInvokeEntry>
|
||||
@AddedIn(GI_2_2_0)
|
||||
var isInitHash: Boolean
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
package data.ability
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_CB1
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
@ -1,4 +1,4 @@
|
||||
package data.ability
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_CB1
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
@ -9,5 +9,5 @@ import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
@ProtoCommand(CLIENT)
|
||||
internal interface ClientAbilityInitFinishNotify {
|
||||
var entityId: Int
|
||||
var invokes: List<AbilityInvokeEntry>
|
||||
var invokes: List<org.anime_game_servers.multi_proto.gi.data.ability.AbilityInvokeEntry>
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
package data.ability
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_2_3_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
@ -1,6 +1,6 @@
|
||||
package data.ability
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability
|
||||
|
||||
import data.general.Vector
|
||||
import org.anime_game_servers.multi_proto.gi.data.general.Vector
|
||||
import org.anime_game_servers.core.base.Version.GI_0_9_0
|
||||
import org.anime_game_servers.core.base.Version.GI_CB2
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
@ -1,4 +1,4 @@
|
||||
package data.ability
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_0_9_0
|
||||
import org.anime_game_servers.core.base.Version.GI_CB2
|
||||
@ -11,5 +11,5 @@ import org.anime_game_servers.core.base.annotations.proto.ProtoCommand
|
||||
@RemovedIn(GI_0_9_0)
|
||||
@ProtoCommand(CLIENT)
|
||||
internal interface ElementReactionLogNotify {
|
||||
var logList: List<ElementReactionLog>
|
||||
var logList: List<org.anime_game_servers.multi_proto.gi.data.ability.ElementReactionLog>
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
package data.ability
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_CB2
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
@ -8,5 +8,5 @@ import org.anime_game_servers.core.base.annotations.proto.ProtoModel
|
||||
@ProtoModel
|
||||
internal interface EntityAbilityInvokeEntry {
|
||||
var entityId: Int
|
||||
var invokes: List<AbilityInvokeEntry>
|
||||
var invokes: List<org.anime_game_servers.multi_proto.gi.data.ability.AbilityInvokeEntry>
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
package data.ability
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_CB1
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
@ -1,6 +1,6 @@
|
||||
package data.ability
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability
|
||||
|
||||
import data.general.ability.AbilityString
|
||||
import org.anime_game_servers.multi_proto.gi.data.general.ability.AbilityString
|
||||
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.ProtoModel
|
||||
@ -8,6 +8,6 @@ import org.anime_game_servers.core.base.annotations.proto.ProtoModel
|
||||
@AddedIn(GI_CB1)
|
||||
@ProtoModel
|
||||
internal interface ModifierProperty {
|
||||
var key: AbilityString
|
||||
var key: org.anime_game_servers.multi_proto.gi.data.general.ability.AbilityString
|
||||
var value: Float
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
package data.ability
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_0_9_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
@ -1,4 +1,4 @@
|
||||
package data.ability
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_2_3_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
@ -1,4 +1,4 @@
|
||||
package data.ability
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_3_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
@ -1,4 +1,4 @@
|
||||
package data.ability
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_1_0
|
||||
import org.anime_game_servers.core.base.Version.GI_1_5_0
|
||||
@ -12,7 +12,7 @@ internal interface ServerUpdateGlobalValueNotify {
|
||||
var delta: Float
|
||||
var entityId: Int
|
||||
var keyHash: Int
|
||||
var updateType: UpdateType
|
||||
var updateType: org.anime_game_servers.multi_proto.gi.data.ability.UpdateType
|
||||
@AddedIn(GI_1_5_0)
|
||||
var value: Float
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
package data.ability
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_1_0
|
||||
import org.anime_game_servers.core.base.Version.GI_1_5_0
|
@ -1,4 +1,4 @@
|
||||
package data.ability
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_0_9_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
@ -14,9 +14,9 @@ internal interface WindSeedClientNotify {
|
||||
|
||||
@OneOf(
|
||||
types = [
|
||||
OneOfEntry(AddWindBulletNotify::class, "add_wind_bullet_notify"),
|
||||
OneOfEntry(AreaNotify::class, "area_notify"),
|
||||
OneOfEntry(RefreshNotify::class, "refresh_notify"),
|
||||
OneOfEntry(org.anime_game_servers.multi_proto.gi.data.ability.AddWindBulletNotify::class, "add_wind_bullet_notify"),
|
||||
OneOfEntry(org.anime_game_servers.multi_proto.gi.data.ability.AreaNotify::class, "area_notify"),
|
||||
OneOfEntry(org.anime_game_servers.multi_proto.gi.data.ability.RefreshNotify::class, "refresh_notify"),
|
||||
]
|
||||
)
|
||||
var notify: OneOfType
|
@ -1,6 +1,6 @@
|
||||
package data.ability.action
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability.action
|
||||
|
||||
import data.general.Vector
|
||||
import org.anime_game_servers.multi_proto.gi.data.general.Vector
|
||||
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
|
@ -1,6 +1,6 @@
|
||||
package data.ability.action
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability.action
|
||||
|
||||
import data.general.Vector
|
||||
import org.anime_game_servers.multi_proto.gi.data.general.Vector
|
||||
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
|
@ -1,6 +1,6 @@
|
||||
package data.ability.action
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability.action
|
||||
|
||||
import data.general.Vector
|
||||
import org.anime_game_servers.multi_proto.gi.data.general.Vector
|
||||
import org.anime_game_servers.core.base.Version.GI_0_9_0
|
||||
import org.anime_game_servers.core.base.Version.GI_CB2
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
@ -1,6 +1,6 @@
|
||||
package data.ability.action
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability.action
|
||||
|
||||
import data.general.Vector
|
||||
import org.anime_game_servers.multi_proto.gi.data.general.Vector
|
||||
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.ProtoModel
|
@ -1,4 +1,4 @@
|
||||
package data.ability.action
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability.action
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_2_6_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
@ -1,6 +1,6 @@
|
||||
package data.ability.action
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability.action
|
||||
|
||||
import data.general.Vector
|
||||
import org.anime_game_servers.multi_proto.gi.data.general.Vector
|
||||
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.ProtoModel
|
@ -1,6 +1,6 @@
|
||||
package data.ability.action
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability.action
|
||||
|
||||
import data.general.Vector
|
||||
import org.anime_game_servers.multi_proto.gi.data.general.Vector
|
||||
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
|
@ -1,6 +1,6 @@
|
||||
package data.ability.action
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability.action
|
||||
|
||||
import data.general.Vector
|
||||
import org.anime_game_servers.multi_proto.gi.data.general.Vector
|
||||
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.ProtoModel
|
@ -1,4 +1,4 @@
|
||||
package data.ability.action
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability.action
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_3_0_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
@ -1,4 +1,4 @@
|
||||
package data.ability.action
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability.action
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_4_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
@ -1,4 +1,4 @@
|
||||
package data.ability.action
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability.action
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_3_0_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
@ -1,6 +1,6 @@
|
||||
package data.ability.action
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability.action
|
||||
|
||||
import data.general.Vector
|
||||
import org.anime_game_servers.multi_proto.gi.data.general.Vector
|
||||
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.ProtoModel
|
@ -1,4 +1,4 @@
|
||||
package data.ability.action
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability.action
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_3_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
@ -1,6 +1,6 @@
|
||||
package data.ability.action
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability.action
|
||||
|
||||
import data.general.Vector
|
||||
import org.anime_game_servers.multi_proto.gi.data.general.Vector
|
||||
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.ProtoModel
|
@ -1,4 +1,4 @@
|
||||
package data.ability.action
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability.action
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_CB1
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
@ -1,6 +1,6 @@
|
||||
package data.ability.meta
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability.meta
|
||||
|
||||
import data.general.ability.AbilityAppliedAbility
|
||||
import org.anime_game_servers.multi_proto.gi.data.general.ability.AbilityAppliedAbility
|
||||
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.ProtoModel
|
||||
@ -8,5 +8,5 @@ import org.anime_game_servers.core.base.annotations.proto.ProtoModel
|
||||
@AddedIn(GI_CB1)
|
||||
@ProtoModel
|
||||
internal interface AbilityMetaAddAbility {
|
||||
var ability: AbilityAppliedAbility
|
||||
var ability: org.anime_game_servers.multi_proto.gi.data.general.ability.AbilityAppliedAbility
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability.meta
|
||||
|
||||
import org.anime_game_servers.multi_proto.gi.data.general.ability.AbilityString
|
||||
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.ProtoModel
|
||||
|
||||
@AddedIn(GI_CB1)
|
||||
@ProtoModel
|
||||
internal interface AbilityMetaAddOrGetAbilityAndTrigger {
|
||||
var abilityName: org.anime_game_servers.multi_proto.gi.data.general.ability.AbilityString
|
||||
var abilityOverride: org.anime_game_servers.multi_proto.gi.data.general.ability.AbilityString
|
||||
var triggerArgument: Float
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
package data.ability.meta
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability.meta
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_2_3_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
@ -1,4 +1,4 @@
|
||||
package data.ability.meta
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability.meta
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_0_9_0
|
||||
import org.anime_game_servers.core.base.Version.GI_1_0_0
|
@ -1,4 +1,4 @@
|
||||
package data.ability.meta
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability.meta
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_2_2_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
@ -0,0 +1,31 @@
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability.meta
|
||||
|
||||
import org.anime_game_servers.multi_proto.gi.data.ability.ModifierAction
|
||||
import org.anime_game_servers.multi_proto.gi.data.ability.ModifierProperty
|
||||
import org.anime_game_servers.multi_proto.gi.data.general.ability.AbilityAttachedModifier
|
||||
import org.anime_game_servers.multi_proto.gi.data.general.ability.AbilityString
|
||||
import org.anime_game_servers.core.base.Version.GI_0_9_0
|
||||
import org.anime_game_servers.core.base.Version.GI_2_3_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.ProtoModel
|
||||
|
||||
@AddedIn(GI_CB1)
|
||||
@ProtoModel
|
||||
internal interface AbilityMetaModifierChange {
|
||||
var action: org.anime_game_servers.multi_proto.gi.data.ability.ModifierAction
|
||||
var applyEntityId: Int
|
||||
var attachedInstancedModifier: org.anime_game_servers.multi_proto.gi.data.general.ability.AbilityAttachedModifier
|
||||
var isMuteRemote: Boolean
|
||||
var modifierLocalId: Int
|
||||
var parentAbilityName: org.anime_game_servers.multi_proto.gi.data.general.ability.AbilityString
|
||||
var parentAbilityOverride: org.anime_game_servers.multi_proto.gi.data.general.ability.AbilityString
|
||||
var properties: List<org.anime_game_servers.multi_proto.gi.data.ability.ModifierProperty>
|
||||
@AddedIn(GI_CB2)
|
||||
var isAttachedParentAbility: Boolean
|
||||
@AddedIn(GI_0_9_0)
|
||||
var serverBuffUid: Int
|
||||
@AddedIn(GI_2_3_0)
|
||||
var isDurabilityZero: Boolean
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
package data.ability.meta
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability.meta
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_CB2
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
@ -1,6 +1,6 @@
|
||||
package data.ability.meta
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability.meta
|
||||
|
||||
import data.general.ability.AbilityScalarValueEntry
|
||||
import org.anime_game_servers.multi_proto.gi.data.general.ability.AbilityScalarValueEntry
|
||||
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.ProtoModel
|
||||
@ -8,5 +8,5 @@ import org.anime_game_servers.core.base.annotations.proto.ProtoModel
|
||||
@AddedIn(GI_CB1)
|
||||
@ProtoModel
|
||||
internal interface AbilityMetaReInitOverrideMap {
|
||||
var overrideMap: List<AbilityScalarValueEntry>
|
||||
var overrideMap: List<org.anime_game_servers.multi_proto.gi.data.general.ability.AbilityScalarValueEntry>
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
package data.ability.meta
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability.meta
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_CB1
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
@ -1,4 +1,4 @@
|
||||
package data.ability.meta
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability.meta
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_CB1
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
@ -1,4 +1,4 @@
|
||||
package data.ability.meta
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability.meta
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_CB1
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
@ -1,6 +1,6 @@
|
||||
package data.ability.meta
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability.meta
|
||||
|
||||
import data.scene.entity.AnimatorParameterValueInfoPair
|
||||
import org.anime_game_servers.multi_proto.gi.data.scene.entity.AnimatorParameterValueInfoPair
|
||||
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.ProtoModel
|
||||
@ -8,5 +8,5 @@ import org.anime_game_servers.core.base.annotations.proto.ProtoModel
|
||||
@AddedIn(GI_1_4_0)
|
||||
@ProtoModel
|
||||
internal interface AbilityMetaSetPoseParameter {
|
||||
var value: AnimatorParameterValueInfoPair
|
||||
var value: org.anime_game_servers.multi_proto.gi.data.scene.entity.AnimatorParameterValueInfoPair
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
package data.ability.meta
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability.meta
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_CB1
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
@ -1,4 +1,4 @@
|
||||
package data.ability.meta
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability.meta
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_6_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
@ -1,6 +1,6 @@
|
||||
package data.ability.meta
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability.meta
|
||||
|
||||
import data.general.ability.AbilityString
|
||||
import org.anime_game_servers.multi_proto.gi.data.general.ability.AbilityString
|
||||
import org.anime_game_servers.core.base.Version.GI_1_4_0
|
||||
import org.anime_game_servers.core.base.Version.GI_3_2_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
||||
@ -9,9 +9,9 @@ import org.anime_game_servers.core.base.annotations.proto.ProtoModel
|
||||
@AddedIn(GI_1_4_0)
|
||||
@ProtoModel
|
||||
internal interface AbilityMetaUpdateBaseReactionDamage {
|
||||
var globalValueKey: AbilityString
|
||||
var globalValueKey: org.anime_game_servers.multi_proto.gi.data.general.ability.AbilityString
|
||||
var reactionType: Int
|
||||
var sourceCasterId: Int
|
||||
@AddedIn(GI_3_2_0)
|
||||
var abilityName: AbilityString
|
||||
var abilityName: org.anime_game_servers.multi_proto.gi.data.general.ability.AbilityString
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
package data.ability.mixin
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability.mixin
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_3_0_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
@ -1,6 +1,6 @@
|
||||
package data.ability.mixin
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability.mixin
|
||||
|
||||
import data.general.Vector
|
||||
import org.anime_game_servers.multi_proto.gi.data.general.Vector
|
||||
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.ProtoModel
|
@ -1,4 +1,4 @@
|
||||
package data.ability.mixin
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability.mixin
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_CB1
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
@ -1,4 +1,4 @@
|
||||
package data.ability.mixin
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability.mixin
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_1_0_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
@ -1,4 +1,4 @@
|
||||
package data.ability.mixin
|
||||
package org.anime_game_servers.multi_proto.gi.data.ability.mixin
|
||||
|
||||
import org.anime_game_servers.core.base.Version.GI_2_3_0
|
||||
import org.anime_game_servers.core.base.annotations.AddedIn
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user