Adds a new class to represent a data type usable by configs
This commit is contained in:
parent
7c501cefe8
commit
85edaa4657
@ -0,0 +1,21 @@
|
|||||||
|
package net.knarcraft.stargate.config;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* An enum defining the different data types an option can have
|
||||||
|
*/
|
||||||
|
public enum OptionDataType {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The data type for the option is a String
|
||||||
|
*/
|
||||||
|
STRING,
|
||||||
|
/**
|
||||||
|
* The data type for the option is a Boolean
|
||||||
|
*/
|
||||||
|
BOOLEAN,
|
||||||
|
/**
|
||||||
|
* The data type for the option is an Integer
|
||||||
|
*/
|
||||||
|
INTEGER
|
||||||
|
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user