class_name Constants enum Gender { Female, Male, Both, Server, } ## rAthena: enum pincode_state enum PinCodeState { Ok = 0, Ask = 1, NotSet = 2, Expired = 3, New = 4, Illegal = 5, KSSN = 6, Passed = 7, Wrong = 8, } enum StatusType { Weight, MaximumWeight, MovementSpeed, BaseLevel, JobLevel, } static var PacketDB = { #LoginServerLoginPacket.HEADER: LoginServerLoginPacket, LoginServerLoginSuccessPacket.HEADER: LoginServerLoginSuccessPacket, #CharacterServerLoginPacket.HEADER: CharacterServerLoginPacket, CharacterServerLoginSuccessPacket.HEADER: CharacterServerLoginSuccessPacket, CharacterServerLoginSuccessCharacterListPacket.HEADER: CharacterServerLoginSuccessCharacterListPacket, CharacterListSizePacket.HEADER: CharacterListSizePacket, BlockCharacterPacket.HEADER: BlockCharacterPacket, PinCodeStatePacket.HEADER: PinCodeStatePacket, #RequestCharacterListPacket.HEADER: RequestCharacterListPacket, RequestCharacterListSuccessPacket.HEADER: RequestCharacterListSuccessPacket, #SelectCharacterPacket.HEADER: SelectCharacterPacket, CharacterSelectionSuccessPacket.HEADER: CharacterSelectionSuccessPacket, CharacterSelectionFailedPacket.HEADER: CharacterSelectionFailedPacket, #MapServerLoginPacket.HEADER: MapServerLoginPacket, MapServerLoginSuccessPacket.HEADER: MapServerLoginSuccessPacket, FriendListPacket.HEADER: FriendListPacket, ServerMessagePacket.HEADER: ServerMessagePacket, ChangeMapPacket.HEADER: ChangeMapPacket, ParameterChangePacket.HEADER: ParameterChangePacket, CoupleStatusPacket.HEADER: CoupleStatusPacket, UpdateAttackRangePacket.HEADER: UpdateAttackRangePacket, NewMailStatusPacket.HEADER: NewMailStatusPacket, QuestListPacket.HEADER: QuestListPacket, AchievementUpdatePacket.HEADER: AchievementUpdatePacket, AchievementListPacket.HEADER: AchievementListPacket, UpdateCriticalWeightPacket.HEADER: UpdateCriticalWeightPacket, #MapLoadedPacket.HEADER: MapLoadedPacket, SpriteChangePacket.HEADER: SpriteChangePacket, InventoryStartPacket.HEADER: InventoryStartPacket, RegularItemListPacket.HEADER: RegularItemListPacket, EquippableItemListPacket.HEADER: EquippableItemListPacket, InventoryEndPacket.HEADER: InventoryEndPacket, }