mirror of
https://github.com/Oth3r/Sit.git
synced 2025-09-19 07:53:22 +02:00
config file option comments
This commit is contained in:
parent
dde387cc3e
commit
b916467ca0
2 changed files with 6 additions and 0 deletions
|
@ -3,12 +3,16 @@ package one.oth3r.sit.file;
|
|||
import com.google.gson.annotations.SerializedName;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
public class HandSetting {
|
||||
|
||||
public boolean mainBlock;
|
||||
@SerializedName("requirement")
|
||||
private SittingRequirement sittingRequirement = SittingRequirement.NONE;
|
||||
@SerializedName("requirement-options")
|
||||
private String sittingRequirementOptions = Arrays.stream(SittingRequirement.values()).map(Enum::toString).collect(Collectors.joining(", "));
|
||||
@SerializedName("filter")
|
||||
private Filter filter = new Filter();
|
||||
|
||||
|
|
|
@ -18,6 +18,8 @@ public class ServerConfig {
|
|||
private Double version = 2.0;
|
||||
@SerializedName("lang")
|
||||
private String lang = "en_us";
|
||||
@SerializedName("lang-options")
|
||||
private String langOptions = "en_us";
|
||||
@SerializedName("keep-active")
|
||||
private Boolean keepActive = true;
|
||||
@SerializedName("sit-while-seated")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue