summaryrefslogtreecommitdiff
path: root/constants.gd
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2024-11-29 21:54:32 +0100
committerDaniel Weipert <git@mail.dweipert.de>2024-11-29 21:54:32 +0100
commit313afffce7a823c30acf4853b083f9ca5132e879 (patch)
tree5a7370392ebd39314612166b35e6f53e67441c0b /constants.gd
parente8aa9f50886b66d525307a58d71036e6fd3d4aa1 (diff)
next commit
Diffstat (limited to 'constants.gd')
-rw-r--r--constants.gd27
1 files changed, 24 insertions, 3 deletions
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,
}