summaryrefslogtreecommitdiff
path: root/packets
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2024-12-20 11:42:22 +0100
committerDaniel Weipert <git@mail.dweipert.de>2024-12-20 11:42:22 +0100
commitf4e07d090cded56ebab54363f1b47f1ea45c8682 (patch)
tree616698bb4306184469b92d68d3f74dfb61d02c72 /packets
parent75793bd23d275d10d6a0bd8024a7e412b64557ce (diff)
next commitHEADmain
Diffstat (limited to 'packets')
-rw-r--r--packets/login_failed_packet.gd22
-rw-r--r--packets/map_server/moving_entity_appeared_packet.gd1
2 files changed, 23 insertions, 0 deletions
diff --git a/packets/login_failed_packet.gd b/packets/login_failed_packet.gd
new file mode 100644
index 0000000..93ebf23
--- /dev/null
+++ b/packets/login_failed_packet.gd
@@ -0,0 +1,22 @@
+## rAthena References:
+## - clif_authfail_fd
+class_name LoginFailedPacket
+extends Packet
+
+
+const HEADER := 0x0081
+const BYTE_LENGTH := 3
+
+
+## Byte Type: u8
+## Byte Length: 1
+@warning_ignore("enum_variable_without_default")
+var reason: Constants.LoginFailedReason
+
+
+static func from_bytes(bytes: PackedByteArray) -> LoginFailedPacket:
+ var packet = LoginFailedPacket.new()
+
+ packet.reason = bytes.decode_u8(2)
+
+ return packet
diff --git a/packets/map_server/moving_entity_appeared_packet.gd b/packets/map_server/moving_entity_appeared_packet.gd
index 43b19ae..50afaf5 100644
--- a/packets/map_server/moving_entity_appeared_packet.gd
+++ b/packets/map_server/moving_entity_appeared_packet.gd
@@ -1,5 +1,6 @@
## rAthena References:
## - ZC_NOTIFY_MOVEENTRY11
+## - clif_set_unit_walking
class_name MovingEntityAppearedPacket
extends Packet