summaryrefslogtreecommitdiff
path: root/extractor/version.gd
diff options
context:
space:
mode:
Diffstat (limited to 'extractor/version.gd')
-rw-r--r--extractor/version.gd15
1 files changed, 15 insertions, 0 deletions
diff --git a/extractor/version.gd b/extractor/version.gd
new file mode 100644
index 0000000..679a8f0
--- /dev/null
+++ b/extractor/version.gd
@@ -0,0 +1,15 @@
+class_name Version
+
+
+## Byte Type: u8
+## Byte Length: 1
+var major: int
+
+
+## Byte Type: u8
+## Byte Length: 1
+var minor: int
+
+
+func _to_string() -> String:
+ return "%s.%s" % [major, minor]