summaryrefslogtreecommitdiff
path: root/constants.gd
diff options
context:
space:
mode:
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,
}