summaryrefslogtreecommitdiff
path: root/packets/packet_chunk.gd
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2024-11-28 18:38:42 +0100
committerDaniel Weipert <git@mail.dweipert.de>2024-11-28 18:38:42 +0100
commite8aa9f50886b66d525307a58d71036e6fd3d4aa1 (patch)
treece6f59eecf1eb3e1ba2794166c09623d8a2d7d83 /packets/packet_chunk.gd
parentc89f25f59aa493d95bcac8e75ca5cdd57a0403e7 (diff)
next commit
Diffstat (limited to 'packets/packet_chunk.gd')
-rw-r--r--packets/packet_chunk.gd10
1 files changed, 10 insertions, 0 deletions
diff --git a/packets/packet_chunk.gd b/packets/packet_chunk.gd
new file mode 100644
index 0000000..2bd8bc6
--- /dev/null
+++ b/packets/packet_chunk.gd
@@ -0,0 +1,10 @@
+class_name PacketChunk
+
+
+var byte_length: int:
+ get = get_byte_length
+
+
+## to be overriden
+func get_byte_length() -> int:
+ return byte_length