From 313afffce7a823c30acf4853b083f9ca5132e879 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Fri, 29 Nov 2024 21:54:32 +0100 Subject: next commit --- constants.gd | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) (limited to 'constants.gd') diff --git a/constants.gd b/constants.gd index a275dc5..13c245a 100644 --- a/constants.gd +++ b/constants.gd @@ -8,7 +8,28 @@ enum Gender { Server, } -static var Packet_DB = { - LoginServerLoginPacket.header: LoginServerLoginPacket, - LoginServerLoginSuccessPacket.new().header: LoginServerLoginSuccessPacket, +enum StatusType { + Weight, + MaximumWeight, + MovementSpeed, + BaseLevel, + JobLevel, +} + +static var PacketDB = { + LoginServerLoginPacket.HEADER: LoginServerLoginPacket, + LoginServerLoginSuccessPacket.HEADER: LoginServerLoginSuccessPacket, + CharacterServerLoginPacket.HEADER: CharacterServerLoginPacket, + CharacterServerLoginSuccessPacket.HEADER: CharacterServerLoginSuccessPacket, + RequestCharacterListPacket.HEADER: RequestCharacterListPacket, + RequestCharacterListSuccessPacket.HEADER: RequestCharacterListSuccessPacket, + SelectCharacterPacket.HEADER: SelectCharacterPacket, + CharacterSelectionSuccessPacket.HEADER: CharacterSelectionSuccessPacket, + MapServerLoginPacket.HEADER: MapServerLoginPacket, + MapServerLoginSuccessPacket.HEADER: MapServerLoginSuccessPacket, + ParameterChangePacket.HEADER: ParameterChangePacket, + CoupleStatusPacket.HEADER: CoupleStatusPacket, + UpdateAttackRangePacket.HEADER: UpdateAttackRangePacket, + NewMailStatusPacket.HEADER: NewMailStatusPacket, + QuestListPacket.HEADER: QuestListPacket, } -- cgit v1.2.3