aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config/features
diff options
context:
space:
mode:
authorCalMWolfs <94038482+CalMWolfs@users.noreply.github.com>2023-07-05 18:37:14 +1000
committerGitHub <noreply@github.com>2023-07-05 10:37:14 +0200
commit5bedd8978dc05f60ef752a95a2062e99be41281c (patch)
tree8bdf2fbb8fbdd39ba309dcf71668005bf46f5de0 /src/main/java/at/hannibal2/skyhanni/config/features
parentd869292ccf8d7e1b99a6fa3234a65dbecf38381d (diff)
downloadskyhanni-5bedd8978dc05f60ef752a95a2062e99be41281c.tar.gz
skyhanni-5bedd8978dc05f60ef752a95a2062e99be41281c.tar.bz2
skyhanni-5bedd8978dc05f60ef752a95a2062e99be41281c.zip
Waypoint saver (#282)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config/features')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/DevData.java25
1 files changed, 21 insertions, 4 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/DevData.java b/src/main/java/at/hannibal2/skyhanni/config/features/DevData.java
index 1fb5a2be1..961eefd4b 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/DevData.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/DevData.java
@@ -2,10 +2,8 @@ package at.hannibal2.skyhanni.config.features;
import at.hannibal2.skyhanni.config.core.config.Position;
import com.google.gson.annotations.Expose;
-import io.github.moulberry.moulconfig.annotations.ConfigAccordionId;
-import io.github.moulberry.moulconfig.annotations.ConfigEditorAccordion;
-import io.github.moulberry.moulconfig.annotations.ConfigEditorBoolean;
-import io.github.moulberry.moulconfig.annotations.ConfigOption;
+import io.github.moulberry.moulconfig.annotations.*;
+import org.lwjgl.input.Keyboard;
public class DevData {
@@ -71,6 +69,25 @@ public class DevData {
@ConfigAccordionId(id = 0)
public boolean highlightMissingRepo = false;
+ @ConfigOption(name = "Waypoints", desc = "")
+ @Accordion
+ @Expose
+ public Waypoints waypoint = new Waypoints();
+
+ public static class Waypoints {
+
+ @Expose
+ @ConfigOption(name = "Save Hotkey", desc = "Saves block location to the waypoints list and copies everything to your clipboard.")
+ @ConfigEditorKeybind(defaultKey = Keyboard.KEY_NONE)
+ public int saveKey = Keyboard.KEY_NONE;
+
+ @Expose
+ @ConfigOption(name = "Delete Hotkey", desc = "Deletes the last saved location for when you make a mistake.")
+ @ConfigEditorKeybind(defaultKey = Keyboard.KEY_NONE)
+ public int deleteKey = Keyboard.KEY_NONE;
+
+ }
+
@Expose
public Position debugPos = new Position(10, 10, false, true);