aboutsummaryrefslogtreecommitdiff
path: root/mod/src
diff options
context:
space:
mode:
Diffstat (limited to 'mod/src')
-rw-r--r--mod/src/main/java/kr/syeyoung/dungeonsguide/mod/VersionInfo.java16
1 files changed, 16 insertions, 0 deletions
diff --git a/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/VersionInfo.java b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/VersionInfo.java
new file mode 100644
index 00000000..5f5b6dd5
--- /dev/null
+++ b/mod/src/main/java/kr/syeyoung/dungeonsguide/mod/VersionInfo.java
@@ -0,0 +1,16 @@
+package kr.syeyoung.dungeonsguide.mod;
+
+import kr.syeyoung.dungeonsguide.launcher.Main;
+import kr.syeyoung.dungeonsguide.launcher.loader.IDGLoader;
+
+public class VersionInfo {
+ public static final String VERSION = "4.0.0-beta-1.0.0";
+
+ public static IDGLoader getCurrentLoader() {
+ return Main.getMain().getCurrentLoader();
+ }
+
+ public static String getLoaderInfo() {
+ return getCurrentLoader().loaderName();
+ }
+}