From 7ed9fe3de0f9091937ad97b3d76e7b1e1baac02d Mon Sep 17 00:00:00 2001 From: syeyoung Date: Tue, 27 Dec 2022 20:20:13 +0900 Subject: - Versioning Signed-off-by: syeyoung --- .../java/kr/syeyoung/dungeonsguide/mod/VersionInfo.java | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 mod/src/main/java/kr/syeyoung/dungeonsguide/mod/VersionInfo.java (limited to 'mod/src/main/java/kr/syeyoung/dungeonsguide') 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(); + } +} -- cgit