summaryrefslogtreecommitdiff
path: root/extractor/version.gd
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2024-12-04 14:23:42 +0100
committerDaniel Weipert <git@mail.dweipert.de>2024-12-04 14:23:42 +0100
commit688790b5dc0ea8f51a99e42a00c7510b9bd87aa6 (patch)
tree71c04c9f401c67caf5c1ea3f56c7360ac1d14b86 /extractor/version.gd
parent2bf6b303fc062a800afb784877d989686287a2a7 (diff)
next commit
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]