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