blob: 3ef21ba0a6dcf1abb3c81757f977851bee663123 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
package at.hannibal2.skyhanni.config.features.rift;
import at.hannibal2.skyhanni.config.FeatureToggle;
import at.hannibal2.skyhanni.config.core.config.Position;
import com.google.gson.annotations.Expose;
import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorBoolean;
import io.github.notenoughupdates.moulconfig.annotations.ConfigEditorColour;
import io.github.notenoughupdates.moulconfig.annotations.ConfigLink;
import io.github.notenoughupdates.moulconfig.annotations.ConfigOption;
import io.github.notenoughupdates.moulconfig.observer.Property;
public class PunchcardConfig {
@Expose
@ConfigOption(name = "Highlight", desc = "Highlights unpunched players in the Rift.")
@ConfigEditorBoolean
@FeatureToggle
public Property<Boolean> highlight = Property.of(false);
@Expose
@ConfigOption(name = "Color", desc = "Color used for highlighting.")
@ConfigEditorColour
public Property<String> color = Property.of("0:163:122:11:143");
@Expose
@ConfigOption(name = "Enable Overlay", desc = "Shows an overlay with the amount of punched players.")
@ConfigEditorBoolean
@FeatureToggle
public Property<Boolean> gui = Property.of(false);
@Expose
@ConfigOption(name = "Compact Overlay", desc = "Compacts the overlay, requires it to be enabled.")
@ConfigEditorBoolean
public Property<Boolean> compact = Property.of(false);
@Expose
@ConfigOption(name = "Countdown Overlay", desc = "Shows the amount of remaining players in the overlay.")
@ConfigEditorBoolean
public Property<Boolean> reverseGUI = Property.of(false);
@Expose
@ConfigOption(name = "Only punched players", desc = "Highlights only punched players instead.")
@ConfigEditorBoolean
public Property<Boolean> reverse = Property.of(false);
@Expose
@ConfigLink(owner = PunchcardConfig.class, field = "gui")
public Position position = new Position(10, 27);
}
|