[Fix] Small ParentClass/AltName fixes for a few models

This commit is contained in:
hartie95 2024-04-12 09:36:28 +02:00
parent 16201cf03a
commit edf3f310bd
6 changed files with 8 additions and 4 deletions

View File

@ -6,7 +6,7 @@ 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")
@ProtoModel(alternativeNames = ["AbilityActionFireAfterImgae"])
internal interface AbilityActionFireAfterImage {
var dir: Vector
}

View File

@ -3,10 +3,12 @@ package data.activity.sea_lamp
import org.anime_game_servers.core.base.annotations.AddedIn
import data.activity.sea_lamp.legacy.SeaLampActivityInfo
import org.anime_game_servers.core.base.Version
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(Version.GI_CB2)
@RemovedIn(Version.GI_0_9_0)
@ProtoCommand(CommandType.NOTIFY)
interface SeaLampActivityInfoNotify {
var activityInfo: SeaLampActivityInfo

View File

@ -2,9 +2,11 @@ package data.activity.sea_lamp
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.RemovedIn
import org.anime_game_servers.core.base.annotations.proto.ProtoModel
@AddedIn(Version.GI_CB2)
@RemovedIn(Version.GI_0_9_0)
@ProtoModel
interface SeaLampActivityPlayerInfo {
var contribution: Int

View File

@ -6,7 +6,7 @@ import org.anime_game_servers.core.base.annotations.proto.AltName
import org.anime_game_servers.core.base.annotations.proto.ProtoEnum
@AddedIn(Version.GI_2_4_0)
@ProtoEnum
@ProtoEnum(parentClass = "ChatInfo")
enum class SystemHintType {
@AltName("SYSTEM_HINT_TYPE_CHAT_NONE")
CHAT_NONE,

View File

@ -5,7 +5,7 @@ import org.anime_game_servers.core.base.Version
import org.anime_game_servers.core.base.annotations.proto.ProtoEnum
@AddedIn(Version.GI_2_0_0)
@ProtoEnum
@ProtoEnum(parentClass = "ProjectorOptionReq")
enum class ProjectorOpType {
PROJECTOR_OP_NONE,
PROJECTOR_OP_CREATE,

View File

@ -8,7 +8,7 @@ import org.anime_game_servers.core.base.annotations.proto.ProtoEnum
import org.anime_game_servers.core.base.annotations.proto.ProtoModel
@AddedIn(Version.GI_CB2)
@ProtoEnum
@ProtoEnum(parentClass = "TrialAvatarGrantRecord")
internal enum class GrantReason {
@AltName("GRANT_REASON_INVALID")
INVALID,