diff --git a/gi/src/commonMain/kotlin/data/ability/AbilityApplyLevelModifier.kt b/gi/src/commonMain/kotlin/data/ability/AbilityApplyLevelModifier.kt new file mode 100644 index 0000000..6875290 --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/AbilityApplyLevelModifier.kt @@ -0,0 +1,11 @@ +package data.ability + +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 AbilityApplyLevelModifier { + var applyEntityId: Int +} diff --git a/gi/src/commonMain/kotlin/data/ability/AbilityBornType.kt b/gi/src/commonMain/kotlin/data/ability/AbilityBornType.kt new file mode 100644 index 0000000..ac73500 --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/AbilityBornType.kt @@ -0,0 +1,16 @@ +package data.ability + +import 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 +import org.anime_game_servers.core.base.annotations.proto.ProtoModel + +@AddedIn(GI_CB1) +@ProtoModel +internal interface AbilityBornType { + var pos: Vector + var rot: Vector + @AddedIn(GI_1_3_0) + var moveDir: Vector +} diff --git a/gi/src/commonMain/kotlin/data/ability/AbilityInvocationFailNotify.kt b/gi/src/commonMain/kotlin/data/ability/AbilityInvocationFailNotify.kt new file mode 100644 index 0000000..30dc2e4 --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/AbilityInvocationFailNotify.kt @@ -0,0 +1,14 @@ +package data.ability + +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 AbilityInvocationFailNotify { + var entityId: Int + var invoke: AbilityInvokeEntry + var reason: String +} diff --git a/gi/src/commonMain/kotlin/data/ability/AbilityInvocationFixedNotify.kt b/gi/src/commonMain/kotlin/data/ability/AbilityInvocationFixedNotify.kt new file mode 100644 index 0000000..0b88173 --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/AbilityInvocationFixedNotify.kt @@ -0,0 +1,29 @@ +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 + @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 +} diff --git a/gi/src/commonMain/kotlin/data/ability/AbilityInvocationsNotify.kt b/gi/src/commonMain/kotlin/data/ability/AbilityInvocationsNotify.kt new file mode 100644 index 0000000..96810fa --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/AbilityInvocationsNotify.kt @@ -0,0 +1,24 @@ +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 AbilityInvocationsNotify { + @RemovedIn(GI_CB2) + var entityId: Int + @RemovedIn(GI_0_9_0) + var forwardPeer: Int + @RemovedIn(GI_0_9_0) + var forwardPeers: List + @RemovedIn(GI_0_9_0) + var forwardType: ForwardType + var invokes: List +} diff --git a/gi/src/commonMain/kotlin/data/ability/AbilityInvokeArgument.kt b/gi/src/commonMain/kotlin/data/ability/AbilityInvokeArgument.kt new file mode 100644 index 0000000..164852c --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/AbilityInvokeArgument.kt @@ -0,0 +1,187 @@ +package 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 +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_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_2_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_2_6_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 +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.AltName +import org.anime_game_servers.core.base.annotations.proto.ProtoEnum + +@AddedIn(GI_CB1) +@ProtoEnum +internal enum class AbilityInvokeArgument { + @AltName("ABILITY_INVOKE_ARGUMENT_NONE") + ABILITY_NONE, + @AltName("ABILITY_INVOKE_ARGUMENT_META_MODIFIER_CHANGE") + ABILITY_META_MODIFIER_CHANGE, + @AltName("ABILITY_INVOKE_ARGUMENT_META_COMMAND_MODIFIER_CHANGE_REQUEST") + ABILITY_META_COMMAND_MODIFIER_CHANGE_REQUEST, + @AltName("ABILITY_INVOKE_ARGUMENT_META_SPECIAL_FLOAT_ARGUMENT") + ABILITY_META_SPECIAL_FLOAT_ARGUMENT, + @AltName("ABILITY_INVOKE_ARGUMENT_META_OVERRIDE_PARAM") + ABILITY_META_OVERRIDE_PARAM, + @AltName("ABILITY_INVOKE_ARGUMENT_META_CLEAR_OVERRIDE_PARAM") + ABILITY_META_CLEAR_OVERRIDE_PARAM, + @AltName("ABILITY_INVOKE_ARGUMENT_META_REINIT_OVERRIDEMAP") + ABILITY_META_REINIT_OVERRIDEMAP, + @AltName("ABILITY_INVOKE_ARGUMENT_META_GLOBAL_FLOAT_VALUE") + ABILITY_META_GLOBAL_FLOAT_VALUE, + @AltName("ABILITY_INVOKE_ARGUMENT_META_CLEAR_GLOBAL_FLOAT_VALUE") + ABILITY_META_CLEAR_GLOBAL_FLOAT_VALUE, + @AltName("ABILITY_INVOKE_ARGUMENT_META_ABILITY_ELEMENT_STRENGTH") + ABILITY_META_ABILITY_ELEMENT_STRENGTH, + @AltName("ABILITY_INVOKE_ARGUMENT_META_ADD_OR_GET_ABILITY_AND_TRIGGER") + ABILITY_META_ADD_OR_GET_ABILITY_AND_TRIGGER, + @AltName("ABILITY_INVOKE_ARGUMENT_META_SET_KILLED_STATE") + ABILITY_META_SET_KILLED_SETATE, + @AltName("ABILITY_INVOKE_ARGUMENT_META_SET_ABILITY_TRIGGER") + ABILITY_META_SET_ABILITY_TRIGGER, + @AltName("ABILITY_INVOKE_ARGUMENT_META_ADD_NEW_ABILITY") + ABILITY_META_ADD_NEW_ABILITY, + @AltName("ABILITY_INVOKE_ARGUMENT_META_REMOVE_ABILITY") + ABILITY_META_REMOVE_ABILITY, + @AltName("ABILITY_INVOKE_ARGUMENT_META_SET_MODIFIER_APPLY_ENTITY") + ABILITY_META_SET_MODIFIER_APPLY_ENTITY, + @AltName("ABILITY_INVOKE_ARGUMENT_ACTION_TRIGGER_ABILITY") + ABILITY_ACTION_TRIGGER_ABILITY, + @AltName("ABILITY_INVOKE_ARGUMENT_ACTION_SET_CRASH_DAMAGE") + ABILITY_ACTION_SET_CRASH_DAMAGE, + @AltName("ABILITY_INVOKE_ARGUMENT_ACTION_EFFECT") + ABILITY_ACTION_EFFECT, + @AltName("ABILITY_INVOKE_ARGUMENT_ACTION_SUMMON") + ABILITY_ACTION_SUMMON, + @AltName("ABILITY_INVOKE_ARGUMENT_ACTION_BLINK") + ABILITY_ACTION_BLINK, + @AltName("ABILITY_INVOKE_ARGUMENT_ACTION_CREATE_GADGET") + ABILITY_ACTION_CREATE_GADGET, + @AltName("ABILITY_INVOKE_ARGUMENT_MIXIN_AVATAR_STEER_BY_CAMERA") + ABILITY_MIXIN_AVATAR_STEER_BY_CAMERA, + @AltName("ABILITY_INVOKE_ARGUMENT_MIXIN_MONSTER_DEFEND") + ABILITY_MIXIN_MONSTER_DEFEND, + @AltName("ABILITY_INVOKE_ARGUMENT_MIXIN_WIND_ZONE") + ABILITY_MIXIN_WIND_ZONE, + @AltName("ABILITY_INVOKE_ARGUMENT_MIXIN_COST_STAMINA") + ABILITY_MIXIN_COST_STAMINA, + @AltName("ABILITY_INVOKE_ARGUMENT_MIXIN_ELITE_SHIELD") + ABILITY_MIXIN_ELITE_SHIELD, + @AltName("ABILITY_INVOKE_ARGUMENT_MIXIN_ELEMENT_SHIELD") + ABILITY_MIXIN_ELEMENT_SHIELD, + @AddedIn(GI_CB2) + @AltName("ABILITY_INVOKE_ARGUMENT_META_MODIFIER_DURABILITY_CHANGE") + ABILITY_META_MODIFIER_DURABILITY_CHANGE, + @AddedIn(GI_CB2) + @AltName("ABILITY_INVOKE_ARGUMENT_ACTION_APPLY_LEVEL_MODIFIER") + ABILITY_ACTION_APPLY_LEVEL_MODIFIER, + @AddedIn(GI_CB2) + @RemovedIn(GI_0_9_0) + ABILITY_ACTION_CREATE_ITEM, + @AddedIn(GI_CB2) + @AltName("ABILITY_INVOKE_ARGUMENT_MIXIN_GLOBAL_SHIELD") + ABILITY_MIXIN_GLOBAL_SHIELD, + @AddedIn(GI_CB2) + @AltName("ABILITY_INVOKE_ARGUMENT_MIXIN_SHIELD_BAR") + ABILITY_MIXIN_SHIELD_BAR, + @AddedIn(GI_0_9_0) + @AltName("ABILITY_INVOKE_ARGUMENT_META_ELEMENT_REACTION_VISUAL") + ABILITY_META_ELEMENT_REACTION_VISUAL, + @AddedIn(GI_0_9_0) + @AltName("ABILITY_INVOKE_ARGUMENT_ACTION_GENERATE_ELEM_BALL") + ABILITY_ACTION_GENERATE_ELEM_BALL, + @AddedIn(GI_0_9_0) + @AltName("ABILITY_INVOKE_ARGUMENT_MIXIN_WIND_SEED_SPAWNER") + ABILITY_MIXIN_WIND_SEED_SPAWNER, + @AddedIn(GI_1_0_0) + @AltName("ABILITY_INVOKE_ARGUMENT_MIXIN_DO_ACTION_BY_ELEMENT_REACTION") + ABILITY_MIXIN_DO_ACTION_BY_ELEMENT_REACTION, + @AddedIn(GI_1_3_0) + @AltName("ABILITY_INVOKE_ARGUMENT_ACTION_SET_RANDOM_OVERRIDE_MAP_VALUE") + ABILITY_ACTION_SET_RANDOM_OVERRIDE_MAP_VALUE, + @AddedIn(GI_1_3_0) + @AltName("ABILITY_INVOKE_ARGUMENT_MIXIN_FIELD_ENTITY_COUNT_CHANGE") + ABILITY_MIXIN_FIELD_ENTITY_COUNT_CHANGE, + @AddedIn(GI_1_4_0) + @AltName("ABILITY_INVOKE_ARGUMENT_META_SET_POSE_PARAMETER") + ABILITY_META_SET_POSE_PARAMETER, + @AddedIn(GI_1_4_0) + @AltName("ABILITY_INVOKE_ARGUMENT_META_UPDATE_BASE_REACTION_DAMAGE") + ABILITY_META_UPDATE_BASE_REACTION_DAMAGE, + @AddedIn(GI_1_4_0) + @AltName("ABILITY_INVOKE_ARGUMENT_ACTION_SERVER_MONSTER_LOG") + ABILITY_ACTION_SERVER_MONSTER_LOG, + @AddedIn(GI_1_5_0) + @AltName("ABILITY_INVOKE_ARGUMENT_MIXIN_SCENE_PROP_SYNC") + ABILITY_MIXIN_SCENE_PROP_SYNC, + @AddedIn(GI_1_6_0) + @AltName("ABILITY_INVOKE_ARGUMENT_META_TRIGGER_ELEMENT_REACTION") + ABILITY_META_TRIGGER_ELEMENT_REACTION, + @AddedIn(GI_1_6_0) + @AltName("ABILITY_INVOKE_ARGUMENT_MIXIN_WIDGET_MP_SUPPORT") + ABILITY_MIXIN_WIDGET_MP_SUPPORT, + @AddedIn(GI_2_0_0) + @AltName("ABILITY_INVOKE_ARGUMENT_ACTION_CREATE_TILE") + ABILITY_ACTION_CREATE_TILE, + @AddedIn(GI_2_0_0) + @AltName("ABILITY_INVOKE_ARGUMENT_ACTION_DESTROY_TILE") + ABILITY_ACTION_DESTROY_TILE, + @AddedIn(GI_2_1_0) + @AltName("ABILITY_INVOKE_ARGUMENT_ACTION_FIRE_AFTER_IMAGE") + ABILITY_ACTION_FIRE_AFTER_IMAGE, + @AddedIn(GI_2_2_0) + @AltName("ABILITY_INVOKE_ARGUMENT_META_LOSE_HP") + ABILITY_META_LOSE_HP, + @AddedIn(GI_2_3_0) + @AltName("ABILITY_INVOKE_ARGUMENT_META_DURABILITY_IS_ZERO") + ABILITY_META_DURABILITY_IS_ZERO, + @AddedIn(GI_2_3_0) + @AltName("ABILITY_INVOKE_ARGUMENT_MIXIN_DO_ACTION_BY_SELF_MODIFIER_ELEMENT_DURABILITY_RATIO") + ABILITY_MIXIN_DO_ACTION_BY_SELF_MODIFIER_ELEMENT_DURABILITY_RATIO, + @AddedIn(GI_2_4_0) + @AltName("ABILITY_INVOKE_ARGUMENT_MIXIN_FIREWORKS_LAUNCHER") + ABILITY_MIXIN_FIREWORKS_LAUNCHER, + @AddedIn(GI_2_4_0) + @AltName("ABILITY_INVOKE_ARGUMENT_MIXIN_ATTACK_RESULT_CREATE_COUNT") + ABILITY_MIXIN_ATTACK_RESULT_CREATE_COUNT, + @AddedIn(GI_2_5_0) + @AltName("ABILITY_INVOKE_ARGUMENT_MIXIN_UGC_TIME_CONTROL") + ABILITY_MIXIN_UGC_TIME_CONTROL, + @AddedIn(GI_2_6_0) + @AltName("ABILITY_INVOKE_ARGUMENT_ACTION_DEDUCT_STAMINA") + ABILITY_ACTION_DEDUCT_STAMINA, + @AddedIn(GI_3_0_0) + @AltName("ABILITY_INVOKE_ARGUMENT_ACTION_HIT_EFFECT") + ABILITY_ACTION_HIT_EFFECT, + @AddedIn(GI_3_0_0) + @AltName("ABILITY_INVOKE_ARGUMENT_ACTION_SET_BULLET_TRACK_TARGET") + ABILITY_ACTION_SET_BULLET_TRACK_TARGET, + @AddedIn(GI_3_0_0) + @AltName("ABILITY_INVOKE_ARGUMENT_MIXIN_AVATAR_COMBAT") + ABILITY_MIXIN_AVATAR_COMBAT, + @AddedIn(GI_3_0_0) + @AltName("ABILITY_INVOKE_ARGUMENT_MIXIN_DEATH_ZONE_REGIONAL_PLAY_MIXIN") + ABILITY_MIXIN_DEATH_ZONE_REGIONAL_PLAY_MIXIN, + @AddedIn(GI_3_0_0) + @AltName("ABILITY_INVOKE_ARGUMENT_MIXIN_UI_INTERACT") + ABILITY_MIXIN_UI_INTERACT, + @AddedIn(GI_3_1_0) + @AltName("ABILITY_INVOKE_ARGUMENT_MIXIN_SHOOT_FROM_CAMERA") + ABILITY_MIXIN_SHOOT_FROM_CAMERA, + @AddedIn(GI_3_2_0) + @AltName("ABILITY_INVOKE_ARGUMENT_MIXIN_ERASE_BRICK_ACTIVITY") + ABILITY_MIXIN_ERASE_BRICK_ACTIVITY, +} diff --git a/gi/src/commonMain/kotlin/data/ability/AbilityInvokeEntry.kt b/gi/src/commonMain/kotlin/data/ability/AbilityInvokeEntry.kt new file mode 100644 index 0000000..8b11bd0 --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/AbilityInvokeEntry.kt @@ -0,0 +1,28 @@ +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_1_0_0 +import org.anime_game_servers.core.base.Version.GI_2_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.ProtoModel + +@AddedIn(GI_CB1) +@ProtoModel +internal interface AbilityInvokeEntry { + var abilityData: ByteArray + var argumentType: AbilityInvokeArgument + var head: AbilityInvokeEntryHead + @AddedIn(GI_CB2) + var entityId: Int + @AddedIn(GI_0_9_0) + var forwardPeer: Int + @AddedIn(GI_0_9_0) + var forwardType: ForwardType + @AddedIn(GI_1_0_0) + var eventId: Int + @AddedIn(GI_2_2_0) + var totalTickTime: Double +} diff --git a/gi/src/commonMain/kotlin/data/ability/AbilityInvokeEntryHead.kt b/gi/src/commonMain/kotlin/data/ability/AbilityInvokeEntryHead.kt new file mode 100644 index 0000000..e9deb5c --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/AbilityInvokeEntryHead.kt @@ -0,0 +1,20 @@ +package data.ability + +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.ProtoModel + +@AddedIn(GI_CB1) +@ProtoModel +internal interface AbilityInvokeEntryHead { + var instancedAbilityId: Int + var instancedModifierId: Int + var localId: Int + var modifierConfigLocalId: Int + var targetId: Int + @AddedIn(GI_1_5_0) + var isServerbuffModifier: Boolean + @AddedIn(GI_1_5_0) + var serverBuffUid: Int +} diff --git a/gi/src/commonMain/kotlin/data/ability/AbilityResetReason.kt b/gi/src/commonMain/kotlin/data/ability/AbilityResetReason.kt new file mode 100644 index 0000000..ac95f7a --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/AbilityResetReason.kt @@ -0,0 +1,15 @@ +package data.ability + +import org.anime_game_servers.core.base.Version.GI_1_0_0 +import org.anime_game_servers.core.base.Version.GI_CB1 +import org.anime_game_servers.core.base.annotations.AddedIn +import org.anime_game_servers.core.base.annotations.RemovedIn +import org.anime_game_servers.core.base.annotations.proto.ProtoModel + +@AddedIn(GI_CB1) +@RemovedIn(GI_1_0_0) +@ProtoModel +internal interface AbilityResetReason { + var param: Int + var reasonType: AbilityResetReasonType +} diff --git a/gi/src/commonMain/kotlin/data/ability/AbilityResetReasonType.kt b/gi/src/commonMain/kotlin/data/ability/AbilityResetReasonType.kt new file mode 100644 index 0000000..24bf346 --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/AbilityResetReasonType.kt @@ -0,0 +1,28 @@ +package 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 +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.ProtoEnum + +@AddedIn(GI_CB1) +@RemovedIn(GI_1_0_0) +@ProtoEnum +internal enum class AbilityResetReasonType { + ABILITY_CHANGE_SKILL_DEPOT, + ABILITY_UNLOCK_TALENT, + ABILITY_CHANGE_EQUIP, + @AddedIn(GI_CB2) + ABILITY_PROUD_SKILL, + @AddedIn(GI_CB2) + ABILITY_AVATAR_SKILL, + @AddedIn(GI_CB2) + ABILITY_CORE_PROUD_SKILL, + @AddedIn(GI_CB2) + ABILITY_TALENT_EXTRA_LEVEL, + @AddedIn(GI_0_9_0) + ABILITY_TEAM_RESONANCE_CHANGE, +} diff --git a/gi/src/commonMain/kotlin/data/ability/AddWindBulletNotify.kt b/gi/src/commonMain/kotlin/data/ability/AddWindBulletNotify.kt new file mode 100644 index 0000000..42d3ec8 --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/AddWindBulletNotify.kt @@ -0,0 +1,14 @@ +package data.ability + +import 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 + +@AddedIn(GI_0_9_0) +@ProtoModel(parentClass = "WindSeedClientNotify") +internal interface AddWindBulletNotify { + var catchPlayerUid: Int + var seedEntityId: Int + var seedPos: Vector +} diff --git a/gi/src/commonMain/kotlin/data/ability/AreaNotify.kt b/gi/src/commonMain/kotlin/data/ability/AreaNotify.kt new file mode 100644 index 0000000..8c25dfc --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/AreaNotify.kt @@ -0,0 +1,15 @@ +package 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 +import org.anime_game_servers.core.base.annotations.AddedIn +import org.anime_game_servers.core.base.annotations.proto.ProtoModel + +@AddedIn(GI_0_9_0) +@ProtoModel(parentClass = "WindSeedClientNotify") +internal interface AreaNotify { + var areaCode: ByteArray + var areaId: Int + @AddedIn(GI_1_3_0) + var areaType: Int +} diff --git a/gi/src/commonMain/kotlin/data/ability/AttackResultCreateCount.kt b/gi/src/commonMain/kotlin/data/ability/AttackResultCreateCount.kt new file mode 100644 index 0000000..c71520c --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/AttackResultCreateCount.kt @@ -0,0 +1,12 @@ +package data.ability + +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 AttackResultCreateCount { + var createCountList: List + var createCountNoCostList: List +} diff --git a/gi/src/commonMain/kotlin/data/ability/AvatarAbilityResetFinishNotify.kt b/gi/src/commonMain/kotlin/data/ability/AvatarAbilityResetFinishNotify.kt new file mode 100644 index 0000000..2e8d892 --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/AvatarAbilityResetFinishNotify.kt @@ -0,0 +1,19 @@ +package 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 +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_CB2) +@RemovedIn(GI_1_0_0) +@ProtoCommand(CLIENT) +internal interface AvatarAbilityResetFinishNotify { + var entityId: Int + var resetReason: AbilityResetReason + @AddedIn(GI_0_9_0) + var invokes: List +} diff --git a/gi/src/commonMain/kotlin/data/ability/AvatarAbilityResetNotify.kt b/gi/src/commonMain/kotlin/data/ability/AvatarAbilityResetNotify.kt new file mode 100644 index 0000000..d95ec2d --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/AvatarAbilityResetNotify.kt @@ -0,0 +1,20 @@ +package 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 +import org.anime_game_servers.core.base.Version.GI_CB1 +import org.anime_game_servers.core.base.annotations.AddedIn +import org.anime_game_servers.core.base.annotations.RemovedIn +import org.anime_game_servers.core.base.annotations.proto.CommandType.* +import org.anime_game_servers.core.base.annotations.proto.ProtoCommand + +@AddedIn(GI_CB1) +@RemovedIn(GI_1_0_0) +@ProtoCommand(NOTIFY) +internal interface AvatarAbilityResetNotify { + @RemovedIn(GI_0_9_0) + var entityId: Int + var resetReason: AbilityResetReason + @AddedIn(GI_0_9_0) + var entityIdList: List +} diff --git a/gi/src/commonMain/kotlin/data/ability/ClientAIStateNotify.kt b/gi/src/commonMain/kotlin/data/ability/ClientAIStateNotify.kt new file mode 100644 index 0000000..7f4993c --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/ClientAIStateNotify.kt @@ -0,0 +1,13 @@ +package data.ability + +import org.anime_game_servers.core.base.Version.GI_1_4_0 +import org.anime_game_servers.core.base.annotations.AddedIn +import org.anime_game_servers.core.base.annotations.proto.CommandType.* +import org.anime_game_servers.core.base.annotations.proto.ProtoCommand + +@AddedIn(GI_1_4_0) +@ProtoCommand(CLIENT) +internal interface ClientAIStateNotify { + var curTactic: Int + var entityId: Int +} diff --git a/gi/src/commonMain/kotlin/data/ability/ClientAbilitiesInitFinishCombineNotify.kt b/gi/src/commonMain/kotlin/data/ability/ClientAbilitiesInitFinishCombineNotify.kt new file mode 100644 index 0000000..e8a2682 --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/ClientAbilitiesInitFinishCombineNotify.kt @@ -0,0 +1,12 @@ +package data.ability + +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(CLIENT) +internal interface ClientAbilitiesInitFinishCombineNotify { + var entityInvokeList: List +} diff --git a/gi/src/commonMain/kotlin/data/ability/ClientAbilityChangeNotify.kt b/gi/src/commonMain/kotlin/data/ability/ClientAbilityChangeNotify.kt new file mode 100644 index 0000000..9c3fd65 --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/ClientAbilityChangeNotify.kt @@ -0,0 +1,16 @@ +package 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 +import org.anime_game_servers.core.base.annotations.AddedIn +import org.anime_game_servers.core.base.annotations.proto.CommandType.* +import org.anime_game_servers.core.base.annotations.proto.ProtoCommand + +@AddedIn(GI_1_0_0) +@ProtoCommand(CLIENT) +internal interface ClientAbilityChangeNotify { + var entityId: Int + var invokes: List + @AddedIn(GI_2_2_0) + var isInitHash: Boolean +} diff --git a/gi/src/commonMain/kotlin/data/ability/ClientAbilityInitBeginNotify.kt b/gi/src/commonMain/kotlin/data/ability/ClientAbilityInitBeginNotify.kt new file mode 100644 index 0000000..818b3a3 --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/ClientAbilityInitBeginNotify.kt @@ -0,0 +1,12 @@ +package data.ability + +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(CLIENT) +internal interface ClientAbilityInitBeginNotify { + var entityId: Int +} diff --git a/gi/src/commonMain/kotlin/data/ability/ClientAbilityInitFinishNotify.kt b/gi/src/commonMain/kotlin/data/ability/ClientAbilityInitFinishNotify.kt new file mode 100644 index 0000000..5cd84df --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/ClientAbilityInitFinishNotify.kt @@ -0,0 +1,13 @@ +package data.ability + +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(CLIENT) +internal interface ClientAbilityInitFinishNotify { + var entityId: Int + var invokes: List +} diff --git a/gi/src/commonMain/kotlin/data/ability/ClientRemoveCombatEndModifierNotify.kt b/gi/src/commonMain/kotlin/data/ability/ClientRemoveCombatEndModifierNotify.kt new file mode 100644 index 0000000..48561ab --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/ClientRemoveCombatEndModifierNotify.kt @@ -0,0 +1,12 @@ +package data.ability + +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 ClientRemoveCombatEndModifierNotify { + var combatEndTypeList: List +} diff --git a/gi/src/commonMain/kotlin/data/ability/ElementReactionLog.kt b/gi/src/commonMain/kotlin/data/ability/ElementReactionLog.kt new file mode 100644 index 0000000..8b82319 --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/ElementReactionLog.kt @@ -0,0 +1,26 @@ +package data.ability + +import 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 +import org.anime_game_servers.core.base.annotations.RemovedIn +import org.anime_game_servers.core.base.annotations.proto.ProtoModel + +@AddedIn(GI_CB2) +@RemovedIn(GI_0_9_0) +@ProtoModel +internal interface ElementReactionLog { + var abilityName: String + var animEventId: String + var attackTag: String + var count: Int + var modifierName: String + var pos: Vector + var reactionType: Int + var sourceId: Int + var sourceLv: Int + var targetId: Int + var targetLv: Int + var time: Int +} diff --git a/gi/src/commonMain/kotlin/data/ability/ElementReactionLogNotify.kt b/gi/src/commonMain/kotlin/data/ability/ElementReactionLogNotify.kt new file mode 100644 index 0000000..4f72925 --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/ElementReactionLogNotify.kt @@ -0,0 +1,15 @@ +package data.ability + +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 +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_CB2) +@RemovedIn(GI_0_9_0) +@ProtoCommand(CLIENT) +internal interface ElementReactionLogNotify { + var logList: List +} diff --git a/gi/src/commonMain/kotlin/data/ability/EntityAbilityInvokeEntry.kt b/gi/src/commonMain/kotlin/data/ability/EntityAbilityInvokeEntry.kt new file mode 100644 index 0000000..843c06b --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/EntityAbilityInvokeEntry.kt @@ -0,0 +1,12 @@ +package data.ability + +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 EntityAbilityInvokeEntry { + var entityId: Int + var invokes: List +} diff --git a/gi/src/commonMain/kotlin/data/ability/ModifierAction.kt b/gi/src/commonMain/kotlin/data/ability/ModifierAction.kt new file mode 100644 index 0000000..3fc8219 --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/ModifierAction.kt @@ -0,0 +1,15 @@ +package data.ability + +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 ModifierAction { + @AltName("MODIFIER_ACTION_ADDED") + ADDED, + @AltName("MODIFIER_ACTION_REMOVED") + REMOVED, +} diff --git a/gi/src/commonMain/kotlin/data/ability/ModifierProperty.kt b/gi/src/commonMain/kotlin/data/ability/ModifierProperty.kt new file mode 100644 index 0000000..1cdc28f --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/ModifierProperty.kt @@ -0,0 +1,13 @@ +package data.ability + +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 ModifierProperty { + var key: AbilityString + var value: Float +} diff --git a/gi/src/commonMain/kotlin/data/ability/RefreshNotify.kt b/gi/src/commonMain/kotlin/data/ability/RefreshNotify.kt new file mode 100644 index 0000000..be40253 --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/RefreshNotify.kt @@ -0,0 +1,11 @@ +package data.ability + +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 + +@AddedIn(GI_0_9_0) +@ProtoModel(parentClass = "WindSeedClientNotify") +internal interface RefreshNotify { + var refreshNum: Int +} diff --git a/gi/src/commonMain/kotlin/data/ability/ServerCombatEndNotify.kt b/gi/src/commonMain/kotlin/data/ability/ServerCombatEndNotify.kt new file mode 100644 index 0000000..761647a --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/ServerCombatEndNotify.kt @@ -0,0 +1,12 @@ +package data.ability + +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(NOTIFY) +internal interface ServerCombatEndNotify { + var combatEndTypeList: List +} diff --git a/gi/src/commonMain/kotlin/data/ability/ServerGlobalValueChangeNotify.kt b/gi/src/commonMain/kotlin/data/ability/ServerGlobalValueChangeNotify.kt new file mode 100644 index 0000000..6c3eafd --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/ServerGlobalValueChangeNotify.kt @@ -0,0 +1,14 @@ +package data.ability + +import org.anime_game_servers.core.base.Version.GI_1_3_0 +import org.anime_game_servers.core.base.annotations.AddedIn +import org.anime_game_servers.core.base.annotations.proto.CommandType.* +import org.anime_game_servers.core.base.annotations.proto.ProtoCommand + +@AddedIn(GI_1_3_0) +@ProtoCommand(NOTIFY) +internal interface ServerGlobalValueChangeNotify { + var entityId: Int + var keyHash: Int + var value: Float +} diff --git a/gi/src/commonMain/kotlin/data/ability/ServerUpdateGlobalValueNotify.kt b/gi/src/commonMain/kotlin/data/ability/ServerUpdateGlobalValueNotify.kt new file mode 100644 index 0000000..2b897a0 --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/ServerUpdateGlobalValueNotify.kt @@ -0,0 +1,18 @@ +package 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 +import org.anime_game_servers.core.base.annotations.AddedIn +import org.anime_game_servers.core.base.annotations.proto.CommandType.* +import org.anime_game_servers.core.base.annotations.proto.ProtoCommand + +@AddedIn(GI_1_1_0) +@ProtoCommand(NOTIFY) +internal interface ServerUpdateGlobalValueNotify { + var delta: Float + var entityId: Int + var keyHash: Int + var updateType: UpdateType + @AddedIn(GI_1_5_0) + var value: Float +} diff --git a/gi/src/commonMain/kotlin/data/ability/UpdateType.kt b/gi/src/commonMain/kotlin/data/ability/UpdateType.kt new file mode 100644 index 0000000..728457c --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/UpdateType.kt @@ -0,0 +1,19 @@ +package 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 +import org.anime_game_servers.core.base.annotations.AddedIn +import org.anime_game_servers.core.base.annotations.proto.AltName +import org.anime_game_servers.core.base.annotations.proto.ProtoEnum + +@AddedIn(GI_1_1_0) +@ProtoEnum("ServerUpdateGlobalValueNotify") +internal enum class UpdateType { + @AltName("INVALUE","UPDATE_TYPE_INVALID") + INVALID, + @AltName("UPDATE_TYPE_ADD") + ADD, + @AddedIn(GI_1_5_0) + @AltName("UPDATE_TYPE_SET") + SET, +} diff --git a/gi/src/commonMain/kotlin/data/ability/WindSeedClientNotify.kt b/gi/src/commonMain/kotlin/data/ability/WindSeedClientNotify.kt new file mode 100644 index 0000000..9a25dae --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/WindSeedClientNotify.kt @@ -0,0 +1,23 @@ +package data.ability + +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.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_0_9_0) +@ProtoCommand(NOTIFY) +internal interface WindSeedClientNotify { + + @OneOf( + types = [ + OneOfEntry(AddWindBulletNotify::class, "add_wind_bullet_notify"), + OneOfEntry(AreaNotify::class, "area_notify"), + OneOfEntry(RefreshNotify::class, "refresh_notify"), + ] + ) + var notify: OneOfType +} diff --git a/gi/src/commonMain/kotlin/data/ability/action/AbilityActionBlink.kt b/gi/src/commonMain/kotlin/data/ability/action/AbilityActionBlink.kt new file mode 100644 index 0000000..ca6ba13 --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/action/AbilityActionBlink.kt @@ -0,0 +1,15 @@ +package data.ability.action + +import 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 +import org.anime_game_servers.core.base.annotations.proto.ProtoModel + +@AddedIn(GI_CB1) +@ProtoModel +internal interface AbilityActionBlink { + var pos: Vector + @AddedIn(GI_CB2) + var rot: Vector +} diff --git a/gi/src/commonMain/kotlin/data/ability/action/AbilityActionCreateGadget.kt b/gi/src/commonMain/kotlin/data/ability/action/AbilityActionCreateGadget.kt new file mode 100644 index 0000000..d16861b --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/action/AbilityActionCreateGadget.kt @@ -0,0 +1,16 @@ +package data.ability.action + +import 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 +import org.anime_game_servers.core.base.annotations.proto.ProtoModel + +@AddedIn(GI_CB1) +@ProtoModel +internal interface AbilityActionCreateGadget { + var pos: Vector + var rot: Vector + @AddedIn(GI_CB2) + var roomId: Int +} diff --git a/gi/src/commonMain/kotlin/data/ability/action/AbilityActionCreateItem.kt b/gi/src/commonMain/kotlin/data/ability/action/AbilityActionCreateItem.kt new file mode 100644 index 0000000..56e6072 --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/action/AbilityActionCreateItem.kt @@ -0,0 +1,17 @@ +package data.ability.action + +import 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 +import org.anime_game_servers.core.base.annotations.RemovedIn +import org.anime_game_servers.core.base.annotations.proto.ProtoModel + +@AddedIn(GI_CB2) +@RemovedIn(GI_0_9_0) +@ProtoModel +internal interface AbilityActionCreateItem { + var pos: Vector + var roomId: Int + var rot: Vector +} diff --git a/gi/src/commonMain/kotlin/data/ability/action/AbilityActionCreateTile.kt b/gi/src/commonMain/kotlin/data/ability/action/AbilityActionCreateTile.kt new file mode 100644 index 0000000..314be6a --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/action/AbilityActionCreateTile.kt @@ -0,0 +1,13 @@ +package data.ability.action + +import 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 + +@AddedIn(GI_2_0_0) +@ProtoModel +internal interface AbilityActionCreateTile { + var pos: Vector + var rot: Vector +} diff --git a/gi/src/commonMain/kotlin/data/ability/action/AbilityActionDeductStamina.kt b/gi/src/commonMain/kotlin/data/ability/action/AbilityActionDeductStamina.kt new file mode 100644 index 0000000..dc39a54 --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/action/AbilityActionDeductStamina.kt @@ -0,0 +1,11 @@ +package data.ability.action + +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.ProtoModel + +@AddedIn(GI_2_6_0) +@ProtoModel +internal interface AbilityActionDeductStamina { + var isSwim: Boolean +} diff --git a/gi/src/commonMain/kotlin/data/ability/action/AbilityActionDestroyTile.kt b/gi/src/commonMain/kotlin/data/ability/action/AbilityActionDestroyTile.kt new file mode 100644 index 0000000..b3ce6e1 --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/action/AbilityActionDestroyTile.kt @@ -0,0 +1,13 @@ +package data.ability.action + +import 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 + +@AddedIn(GI_2_0_0) +@ProtoModel +internal interface AbilityActionDestroyTile { + var pos: Vector + var rot: Vector +} diff --git a/gi/src/commonMain/kotlin/data/ability/action/AbilityActionFireAfterImage.kt b/gi/src/commonMain/kotlin/data/ability/action/AbilityActionFireAfterImage.kt new file mode 100644 index 0000000..00eb210 --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/action/AbilityActionFireAfterImage.kt @@ -0,0 +1,12 @@ +package data.ability.action + +import 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 + +@AddedIn(GI_2_1_0) +@ProtoModel("AbilityActionFireAfterImgae") +internal interface AbilityActionFireAfterImage { + var dir: Vector +} diff --git a/gi/src/commonMain/kotlin/data/ability/action/AbilityActionGenerateElemBall.kt b/gi/src/commonMain/kotlin/data/ability/action/AbilityActionGenerateElemBall.kt new file mode 100644 index 0000000..6288ee6 --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/action/AbilityActionGenerateElemBall.kt @@ -0,0 +1,14 @@ +package data.ability.action + +import 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 + +@AddedIn(GI_0_9_0) +@ProtoModel +internal interface AbilityActionGenerateElemBall { + var pos: Vector + var roomId: Int + var rot: Vector +} diff --git a/gi/src/commonMain/kotlin/data/ability/action/AbilityActionHitEffect.kt b/gi/src/commonMain/kotlin/data/ability/action/AbilityActionHitEffect.kt new file mode 100644 index 0000000..6d11965 --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/action/AbilityActionHitEffect.kt @@ -0,0 +1,11 @@ +package data.ability.action + +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 AbilityActionHitEffect { + var triggerId: Int +} diff --git a/gi/src/commonMain/kotlin/data/ability/action/AbilityActionServerMonsterLog.kt b/gi/src/commonMain/kotlin/data/ability/action/AbilityActionServerMonsterLog.kt new file mode 100644 index 0000000..c50c85c --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/action/AbilityActionServerMonsterLog.kt @@ -0,0 +1,11 @@ +package data.ability.action + +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 +internal interface AbilityActionServerMonsterLog { + var paramList: List +} diff --git a/gi/src/commonMain/kotlin/data/ability/action/AbilityActionSetBulletTrackTarget.kt b/gi/src/commonMain/kotlin/data/ability/action/AbilityActionSetBulletTrackTarget.kt new file mode 100644 index 0000000..7aaad8f --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/action/AbilityActionSetBulletTrackTarget.kt @@ -0,0 +1,12 @@ +package data.ability.action + +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 AbilityActionSetBulletTrackTarget { + var chasedEntityId: Int + var lockPointIndex: Int +} diff --git a/gi/src/commonMain/kotlin/data/ability/action/AbilityActionSetCrashDamage.kt b/gi/src/commonMain/kotlin/data/ability/action/AbilityActionSetCrashDamage.kt new file mode 100644 index 0000000..50c7f8b --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/action/AbilityActionSetCrashDamage.kt @@ -0,0 +1,13 @@ +package data.ability.action + +import 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 + +@AddedIn(GI_CB1) +@ProtoModel +internal interface AbilityActionSetCrashDamage { + var damage: Float + var hitPos: Vector +} diff --git a/gi/src/commonMain/kotlin/data/ability/action/AbilityActionSetRandomOverrideMapValue.kt b/gi/src/commonMain/kotlin/data/ability/action/AbilityActionSetRandomOverrideMapValue.kt new file mode 100644 index 0000000..189a81f --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/action/AbilityActionSetRandomOverrideMapValue.kt @@ -0,0 +1,11 @@ +package data.ability.action + +import org.anime_game_servers.core.base.Version.GI_1_3_0 +import org.anime_game_servers.core.base.annotations.AddedIn +import org.anime_game_servers.core.base.annotations.proto.ProtoModel + +@AddedIn(GI_1_3_0) +@ProtoModel +internal interface AbilityActionSetRandomOverrideMapValue { + var randomValue: Float +} diff --git a/gi/src/commonMain/kotlin/data/ability/action/AbilityActionSummon.kt b/gi/src/commonMain/kotlin/data/ability/action/AbilityActionSummon.kt new file mode 100644 index 0000000..e723782 --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/action/AbilityActionSummon.kt @@ -0,0 +1,13 @@ +package data.ability.action + +import 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 + +@AddedIn(GI_CB1) +@ProtoModel +internal interface AbilityActionSummon { + var pos: Vector + var rot: Vector +} diff --git a/gi/src/commonMain/kotlin/data/ability/action/AbilityActionTriggerAbility.kt b/gi/src/commonMain/kotlin/data/ability/action/AbilityActionTriggerAbility.kt new file mode 100644 index 0000000..b1a3154 --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/action/AbilityActionTriggerAbility.kt @@ -0,0 +1,11 @@ +package data.ability.action + +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 AbilityActionTriggerAbility { + var otherId: Int +} diff --git a/gi/src/commonMain/kotlin/data/ability/meta/AbilityMetaAddAbility.kt b/gi/src/commonMain/kotlin/data/ability/meta/AbilityMetaAddAbility.kt new file mode 100644 index 0000000..ac79d5a --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/meta/AbilityMetaAddAbility.kt @@ -0,0 +1,12 @@ +package data.ability.meta + +import 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 + +@AddedIn(GI_CB1) +@ProtoModel +internal interface AbilityMetaAddAbility { + var ability: AbilityAppliedAbility +} diff --git a/gi/src/commonMain/kotlin/data/ability/meta/AbilityMetaAddOrGetAbilityAndTrigger.kt b/gi/src/commonMain/kotlin/data/ability/meta/AbilityMetaAddOrGetAbilityAndTrigger.kt new file mode 100644 index 0000000..211cac5 --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/meta/AbilityMetaAddOrGetAbilityAndTrigger.kt @@ -0,0 +1,14 @@ +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 +} diff --git a/gi/src/commonMain/kotlin/data/ability/meta/AbilityMetaDurabilityIsZero.kt b/gi/src/commonMain/kotlin/data/ability/meta/AbilityMetaDurabilityIsZero.kt new file mode 100644 index 0000000..783239d --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/meta/AbilityMetaDurabilityIsZero.kt @@ -0,0 +1,11 @@ +package data.ability.meta + +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.ProtoModel + +@AddedIn(GI_2_3_0) +@ProtoModel +internal interface AbilityMetaDurabilityIsZero { + var isZero: Boolean +} diff --git a/gi/src/commonMain/kotlin/data/ability/meta/AbilityMetaElementReactionVisual.kt b/gi/src/commonMain/kotlin/data/ability/meta/AbilityMetaElementReactionVisual.kt new file mode 100644 index 0000000..9d4b7fe --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/meta/AbilityMetaElementReactionVisual.kt @@ -0,0 +1,19 @@ +package 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 +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_0_9_0) +@ProtoModel +internal interface AbilityMetaElementReactionVisual { + var elementReactionType: Int + @AddedIn(GI_1_0_0) + var elementReactorType: Int + @AddedIn(GI_1_0_0) + var elementSourceType: Int + @AddedIn(GI_1_4_0) + var hitIndex: Int +} diff --git a/gi/src/commonMain/kotlin/data/ability/meta/AbilityMetaLoseHp.kt b/gi/src/commonMain/kotlin/data/ability/meta/AbilityMetaLoseHp.kt new file mode 100644 index 0000000..98e240c --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/meta/AbilityMetaLoseHp.kt @@ -0,0 +1,11 @@ +package data.ability.meta + +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 AbilityMetaLoseHp { + var loseHpConfigIdx: Int +} diff --git a/gi/src/commonMain/kotlin/data/ability/meta/AbilityMetaModifierChange.kt b/gi/src/commonMain/kotlin/data/ability/meta/AbilityMetaModifierChange.kt new file mode 100644 index 0000000..71ec847 --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/meta/AbilityMetaModifierChange.kt @@ -0,0 +1,31 @@ +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 + @AddedIn(GI_CB2) + var isAttachedParentAbility: Boolean + @AddedIn(GI_0_9_0) + var serverBuffUid: Int + @AddedIn(GI_2_3_0) + var isDurabilityZero: Boolean +} diff --git a/gi/src/commonMain/kotlin/data/ability/meta/AbilityMetaModifierDurabilityChange.kt b/gi/src/commonMain/kotlin/data/ability/meta/AbilityMetaModifierDurabilityChange.kt new file mode 100644 index 0000000..a389c57 --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/meta/AbilityMetaModifierDurabilityChange.kt @@ -0,0 +1,12 @@ +package data.ability.meta + +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 AbilityMetaModifierDurabilityChange { + var reduceDurability: Float + var remainDurability: Float +} diff --git a/gi/src/commonMain/kotlin/data/ability/meta/AbilityMetaReInitOverrideMap.kt b/gi/src/commonMain/kotlin/data/ability/meta/AbilityMetaReInitOverrideMap.kt new file mode 100644 index 0000000..072c736 --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/meta/AbilityMetaReInitOverrideMap.kt @@ -0,0 +1,12 @@ +package data.ability.meta + +import 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 + +@AddedIn(GI_CB1) +@ProtoModel +internal interface AbilityMetaReInitOverrideMap { + var overrideMap: List +} diff --git a/gi/src/commonMain/kotlin/data/ability/meta/AbilityMetaSetAbilityTrigger.kt b/gi/src/commonMain/kotlin/data/ability/meta/AbilityMetaSetAbilityTrigger.kt new file mode 100644 index 0000000..3c3eca0 --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/meta/AbilityMetaSetAbilityTrigger.kt @@ -0,0 +1,11 @@ +package data.ability.meta + +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 AbilityMetaSetAbilityTrigger { + var triggerAbilityEntityId: Int +} diff --git a/gi/src/commonMain/kotlin/data/ability/meta/AbilityMetaSetKilledState.kt b/gi/src/commonMain/kotlin/data/ability/meta/AbilityMetaSetKilledState.kt new file mode 100644 index 0000000..81048ef --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/meta/AbilityMetaSetKilledState.kt @@ -0,0 +1,11 @@ +package data.ability.meta + +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 AbilityMetaSetKilledState { + var killed: Boolean +} diff --git a/gi/src/commonMain/kotlin/data/ability/meta/AbilityMetaSetModifierApplyEntityId.kt b/gi/src/commonMain/kotlin/data/ability/meta/AbilityMetaSetModifierApplyEntityId.kt new file mode 100644 index 0000000..102ed6d --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/meta/AbilityMetaSetModifierApplyEntityId.kt @@ -0,0 +1,11 @@ +package data.ability.meta + +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 AbilityMetaSetModifierApplyEntityId { + var applyEntityId: Int +} diff --git a/gi/src/commonMain/kotlin/data/ability/meta/AbilityMetaSetPoseParameter.kt b/gi/src/commonMain/kotlin/data/ability/meta/AbilityMetaSetPoseParameter.kt new file mode 100644 index 0000000..493b1f1 --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/meta/AbilityMetaSetPoseParameter.kt @@ -0,0 +1,12 @@ +package data.ability.meta + +import 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 + +@AddedIn(GI_1_4_0) +@ProtoModel +internal interface AbilityMetaSetPoseParameter { + var value: AnimatorParameterValueInfoPair +} diff --git a/gi/src/commonMain/kotlin/data/ability/meta/AbilityMetaSpecialFloatArgument.kt b/gi/src/commonMain/kotlin/data/ability/meta/AbilityMetaSpecialFloatArgument.kt new file mode 100644 index 0000000..482512c --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/meta/AbilityMetaSpecialFloatArgument.kt @@ -0,0 +1,12 @@ +package data.ability.meta + +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 AbilityMetaSpecialFloatArgument { + var argumentValue: Float + var isOn: Boolean +} diff --git a/gi/src/commonMain/kotlin/data/ability/meta/AbilityMetaTriggerElementReaction.kt b/gi/src/commonMain/kotlin/data/ability/meta/AbilityMetaTriggerElementReaction.kt new file mode 100644 index 0000000..8d0c776 --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/meta/AbilityMetaTriggerElementReaction.kt @@ -0,0 +1,15 @@ +package data.ability.meta + +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.ProtoModel + +@AddedIn(GI_1_6_0) +@ProtoModel +internal interface AbilityMetaTriggerElementReaction { + var elementReactionType: Int + var elementReactorType: Int + var elementSourceType: Int + var hitIndex: Int + var triggerEntityId: Int +} diff --git a/gi/src/commonMain/kotlin/data/ability/meta/AbilityMetaUpdateBaseReactionDamage.kt b/gi/src/commonMain/kotlin/data/ability/meta/AbilityMetaUpdateBaseReactionDamage.kt new file mode 100644 index 0000000..91bad80 --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/meta/AbilityMetaUpdateBaseReactionDamage.kt @@ -0,0 +1,17 @@ +package data.ability.meta + +import 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 +import org.anime_game_servers.core.base.annotations.proto.ProtoModel + +@AddedIn(GI_1_4_0) +@ProtoModel +internal interface AbilityMetaUpdateBaseReactionDamage { + var globalValueKey: AbilityString + var reactionType: Int + var sourceCasterId: Int + @AddedIn(GI_3_2_0) + var abilityName: AbilityString +} diff --git a/gi/src/commonMain/kotlin/data/ability/mixin/AbilityMixinAvatarCombat.kt b/gi/src/commonMain/kotlin/data/ability/mixin/AbilityMixinAvatarCombat.kt new file mode 100644 index 0000000..6a89adc --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/mixin/AbilityMixinAvatarCombat.kt @@ -0,0 +1,11 @@ +package data.ability.mixin + +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 AbilityMixinAvatarCombat { + var isEnterCombat: Boolean +} diff --git a/gi/src/commonMain/kotlin/data/ability/mixin/AbilityMixinAvatarSteerByCamera.kt b/gi/src/commonMain/kotlin/data/ability/mixin/AbilityMixinAvatarSteerByCamera.kt new file mode 100644 index 0000000..eb1a9db --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/mixin/AbilityMixinAvatarSteerByCamera.kt @@ -0,0 +1,13 @@ +package data.ability.mixin + +import 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 + +@AddedIn(GI_CB1) +@ProtoModel +internal interface AbilityMixinAvatarSteerByCamera { + var targetDir: Vector + var targetPos: Vector +} diff --git a/gi/src/commonMain/kotlin/data/ability/mixin/AbilityMixinCostStamina.kt b/gi/src/commonMain/kotlin/data/ability/mixin/AbilityMixinCostStamina.kt new file mode 100644 index 0000000..851d57e --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/mixin/AbilityMixinCostStamina.kt @@ -0,0 +1,11 @@ +package data.ability.mixin + +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 AbilityMixinCostStamina { + var isSwim: Boolean +} diff --git a/gi/src/commonMain/kotlin/data/ability/mixin/AbilityMixinDoActionByElementReaction.kt b/gi/src/commonMain/kotlin/data/ability/mixin/AbilityMixinDoActionByElementReaction.kt new file mode 100644 index 0000000..5fc258d --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/mixin/AbilityMixinDoActionByElementReaction.kt @@ -0,0 +1,11 @@ +package data.ability.mixin + +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.ProtoModel + +@AddedIn(GI_1_0_0) +@ProtoModel +internal interface AbilityMixinDoActionByElementReaction { + var targetEntityId: Int +} diff --git a/gi/src/commonMain/kotlin/data/ability/mixin/AbilityMixinDoActionBySelfModifierElementDurabilityRatio.kt b/gi/src/commonMain/kotlin/data/ability/mixin/AbilityMixinDoActionBySelfModifierElementDurabilityRatio.kt new file mode 100644 index 0000000..c8955d3 --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/mixin/AbilityMixinDoActionBySelfModifierElementDurabilityRatio.kt @@ -0,0 +1,13 @@ +package data.ability.mixin + +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.AltName +import org.anime_game_servers.core.base.annotations.proto.ProtoModel + +@AddedIn(GI_2_3_0) +@ProtoModel +internal interface AbilityMixinDoActionBySelfModifierElementDurabilityRatio { + @AltName("lastDuabilityRatio") + var lastDurabilityRatio: Float +} diff --git a/gi/src/commonMain/kotlin/data/ability/mixin/AbilityMixinElementShield.kt b/gi/src/commonMain/kotlin/data/ability/mixin/AbilityMixinElementShield.kt new file mode 100644 index 0000000..7db1b75 --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/mixin/AbilityMixinElementShield.kt @@ -0,0 +1,20 @@ +package data.ability.mixin + +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 AbilityMixinElementShield { + var isShieldBroken: Boolean + var maxShield: Float + var shield: Float + var subShield: Float + @AddedIn(GI_CB2) + var absorbType: Int + @AddedIn(GI_2_3_0) + var playerNum: Int +} diff --git a/gi/src/commonMain/kotlin/data/ability/mixin/AbilityMixinEliteShield.kt b/gi/src/commonMain/kotlin/data/ability/mixin/AbilityMixinEliteShield.kt new file mode 100644 index 0000000..b92a3b3 --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/mixin/AbilityMixinEliteShield.kt @@ -0,0 +1,11 @@ +package data.ability.mixin + +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 AbilityMixinEliteShield { + var subShield: Float +} diff --git a/gi/src/commonMain/kotlin/data/ability/mixin/AbilityMixinEmpty.kt b/gi/src/commonMain/kotlin/data/ability/mixin/AbilityMixinEmpty.kt new file mode 100644 index 0000000..c7a508a --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/mixin/AbilityMixinEmpty.kt @@ -0,0 +1,10 @@ +package data.ability.mixin + +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 AbilityMixinEmpty { +} diff --git a/gi/src/commonMain/kotlin/data/ability/mixin/AbilityMixinEraseBrickActivity.kt b/gi/src/commonMain/kotlin/data/ability/mixin/AbilityMixinEraseBrickActivity.kt new file mode 100644 index 0000000..d43853c --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/mixin/AbilityMixinEraseBrickActivity.kt @@ -0,0 +1,11 @@ +package data.ability.mixin + +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 AbilityMixinEraseBrickActivity { + var data: List +} diff --git a/gi/src/commonMain/kotlin/data/ability/mixin/AbilityMixinFieldEntityCountChange.kt b/gi/src/commonMain/kotlin/data/ability/mixin/AbilityMixinFieldEntityCountChange.kt new file mode 100644 index 0000000..96d59db --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/mixin/AbilityMixinFieldEntityCountChange.kt @@ -0,0 +1,11 @@ +package data.ability.mixin + +import org.anime_game_servers.core.base.Version.GI_1_3_0 +import org.anime_game_servers.core.base.annotations.AddedIn +import org.anime_game_servers.core.base.annotations.proto.ProtoModel + +@AddedIn(GI_1_3_0) +@ProtoModel +internal interface AbilityMixinFieldEntityCountChange { + var fieldEntityCount: Int +} diff --git a/gi/src/commonMain/kotlin/data/ability/mixin/AbilityMixinFireworksLauncher.kt b/gi/src/commonMain/kotlin/data/ability/mixin/AbilityMixinFireworksLauncher.kt new file mode 100644 index 0000000..0ce094e --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/mixin/AbilityMixinFireworksLauncher.kt @@ -0,0 +1,16 @@ +package data.ability.mixin + +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 AbilityMixinFireworksLauncher { + var firedBulletCount: Int + var fireworksConfig: List + var invokeType: Int + var phase: Int + var startCountDownTime: Int + var turnIndex: Int +} diff --git a/gi/src/commonMain/kotlin/data/ability/mixin/AbilityMixinGlobalShield.kt b/gi/src/commonMain/kotlin/data/ability/mixin/AbilityMixinGlobalShield.kt new file mode 100644 index 0000000..527dcd7 --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/mixin/AbilityMixinGlobalShield.kt @@ -0,0 +1,20 @@ +package data.ability.mixin + +import org.anime_game_servers.core.base.Version.GI_1_1_0 +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.ProtoModel + +@AddedIn(GI_CB2) +@ProtoModel +internal interface AbilityMixinGlobalShield { + var avatarId: Int + var heightOffset: Float + var shieldEffectName: String + var subShield: Float + @AddedIn(GI_1_1_0) + var isCreateEffect: Boolean + @AddedIn(GI_2_1_0) + var maxShield: Float +} diff --git a/gi/src/commonMain/kotlin/data/ability/mixin/AbilityMixinScenePropSync.kt b/gi/src/commonMain/kotlin/data/ability/mixin/AbilityMixinScenePropSync.kt new file mode 100644 index 0000000..deef813 --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/mixin/AbilityMixinScenePropSync.kt @@ -0,0 +1,16 @@ +package data.ability.mixin + +import data.general.ability.MassivePropSyncInfo +import org.anime_game_servers.core.base.Version.GI_1_5_0 +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 + +@AddedIn(GI_1_5_0) +@ProtoModel +internal interface AbilityMixinScenePropSync { + var deleteIdList: List + var massivePropList: List + @AddedIn(GI_2_0_0) + var isClearAll: Boolean +} diff --git a/gi/src/commonMain/kotlin/data/ability/mixin/AbilityMixinShieldBar.kt b/gi/src/commonMain/kotlin/data/ability/mixin/AbilityMixinShieldBar.kt new file mode 100644 index 0000000..59ed9f6 --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/mixin/AbilityMixinShieldBar.kt @@ -0,0 +1,16 @@ +package data.ability.mixin + +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.ProtoModel + +@AddedIn(GI_CB2) +@ProtoModel +internal interface AbilityMixinShieldBar { + var elementType: Int + var maxShield: Float + var shield: Float + @AddedIn(GI_2_3_0) + var playerNum: Int +} diff --git a/gi/src/commonMain/kotlin/data/ability/mixin/AbilityMixinShootFromCamera.kt b/gi/src/commonMain/kotlin/data/ability/mixin/AbilityMixinShootFromCamera.kt new file mode 100644 index 0000000..45a6d58 --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/mixin/AbilityMixinShootFromCamera.kt @@ -0,0 +1,13 @@ +package data.ability.mixin + +import data.general.Vector +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 AbilityMixinShootFromCamera { + var forward: Vector + var initPos: Vector +} diff --git a/gi/src/commonMain/kotlin/data/ability/mixin/AbilityMixinUGCTimeControl.kt b/gi/src/commonMain/kotlin/data/ability/mixin/AbilityMixinUGCTimeControl.kt new file mode 100644 index 0000000..ff3aec7 --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/mixin/AbilityMixinUGCTimeControl.kt @@ -0,0 +1,12 @@ +package data.ability.mixin + +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 AbilityMixinUGCTimeControl { + var startMoveTime: Int + var startMoveTimeMs: Long +} diff --git a/gi/src/commonMain/kotlin/data/ability/mixin/AbilityMixinUIInteract.kt b/gi/src/commonMain/kotlin/data/ability/mixin/AbilityMixinUIInteract.kt new file mode 100644 index 0000000..b82b358 --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/mixin/AbilityMixinUIInteract.kt @@ -0,0 +1,10 @@ +package data.ability.mixin + +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 AbilityMixinUIInteract { +} diff --git a/gi/src/commonMain/kotlin/data/ability/mixin/AbilityMixinWidgetMpSupport.kt b/gi/src/commonMain/kotlin/data/ability/mixin/AbilityMixinWidgetMpSupport.kt new file mode 100644 index 0000000..d27ed41 --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/mixin/AbilityMixinWidgetMpSupport.kt @@ -0,0 +1,11 @@ +package data.ability.mixin + +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.ProtoModel + +@AddedIn(GI_1_6_0) +@ProtoModel +internal interface AbilityMixinWidgetMpSupport { + var targetEntityId: Int +} diff --git a/gi/src/commonMain/kotlin/data/ability/mixin/AbilityMixinWindSeedSpawner.kt b/gi/src/commonMain/kotlin/data/ability/mixin/AbilityMixinWindSeedSpawner.kt new file mode 100644 index 0000000..31f8c3e --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/mixin/AbilityMixinWindSeedSpawner.kt @@ -0,0 +1,22 @@ +package data.ability.mixin + +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.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 + +@AddedIn(GI_0_9_0) +@ProtoModel +internal interface AbilityMixinWindSeedSpawner { + + @OneOf( + types = [ + OneOfEntry(AddSignal::class, "add_signal"), + OneOfEntry(CatchSeed::class, "catch_seed"), + OneOfEntry(RefreshSeed::class, "refresh_seed"), + ] + ) + var cmd: OneOfType +} diff --git a/gi/src/commonMain/kotlin/data/ability/mixin/AbilityMixinWindZone.kt b/gi/src/commonMain/kotlin/data/ability/mixin/AbilityMixinWindZone.kt new file mode 100644 index 0000000..e58fb19 --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/mixin/AbilityMixinWindZone.kt @@ -0,0 +1,14 @@ +package data.ability.mixin + +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.ProtoModel + +@AddedIn(GI_CB1) +@ProtoModel +internal interface AbilityMixinWindZone { + var entityIds: List + @AddedIn(GI_1_1_0) + var zoneIdList: List +} diff --git a/gi/src/commonMain/kotlin/data/ability/mixin/AddSignal.kt b/gi/src/commonMain/kotlin/data/ability/mixin/AddSignal.kt new file mode 100644 index 0000000..f1344d6 --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/mixin/AddSignal.kt @@ -0,0 +1,10 @@ +package data.ability.mixin + +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 + +@AddedIn(GI_0_9_0) +@ProtoModel(parentClass = "AbilityMixinWindSeedSpawner") +internal interface AddSignal { +} diff --git a/gi/src/commonMain/kotlin/data/ability/mixin/CatchSeed.kt b/gi/src/commonMain/kotlin/data/ability/mixin/CatchSeed.kt new file mode 100644 index 0000000..96d3b1c --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/mixin/CatchSeed.kt @@ -0,0 +1,11 @@ +package data.ability.mixin + +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 + +@AddedIn(GI_0_9_0) +@ProtoModel(parentClass = "AbilityMixinWindSeedSpawner") +internal interface CatchSeed { + var entityId: Int +} diff --git a/gi/src/commonMain/kotlin/data/ability/mixin/RefreshSeed.kt b/gi/src/commonMain/kotlin/data/ability/mixin/RefreshSeed.kt new file mode 100644 index 0000000..ceef3ea --- /dev/null +++ b/gi/src/commonMain/kotlin/data/ability/mixin/RefreshSeed.kt @@ -0,0 +1,12 @@ +package data.ability.mixin + +import 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 + +@AddedIn(GI_0_9_0) +@ProtoModel(parentClass = "AbilityMixinWindSeedSpawner") +internal interface RefreshSeed { + var posList: List +}