Class SandboxOptions.EnumSandboxOption
java.lang.Object
zombie.config.ConfigOption
zombie.config.IntegerConfigOption
zombie.config.EnumConfigOption
zombie.SandboxOptions.EnumSandboxOption
- All Implemented Interfaces:
SandboxOptions.SandboxOption
- Enclosing class:
SandboxOptions
public static class SandboxOptions.EnumSandboxOption
extends EnumConfigOption
implements SandboxOptions.SandboxOption
-
Constructor Summary
ConstructorsConstructorDescriptionEnumSandboxOption(SandboxOptions owner, String name, int numValues, int defaultValue) -
Method Summary
Modifier and TypeMethodDescriptionvoidfromTable(KahluaTable table) getValueTranslationByIndex(int index) getValueTranslationByIndexOrNull(int index) booleanisCustom()voidsetPageName(String _pageName) setTranslation(String _translation) setValueTranslation(String _translation) voidtoTable(KahluaTable table) Methods inherited from class zombie.config.EnumConfigOption
getNumValues, getTypeMethods inherited from class zombie.config.IntegerConfigOption
getDefaultValue, getMax, getMin, getValue, getValueAsObject, getValueAsString, isValidString, makeCopy, parse, resetToDefault, setDefaultToCurrentValue, setValue, setValueFromObjectMethods inherited from class zombie.config.ConfigOption
getName, getValueAsLuaString
-
Constructor Details
-
EnumSandboxOption
-
-
Method Details
-
asConfigOption
- Specified by:
asConfigOptionin interfaceSandboxOptions.SandboxOption
-
getShortName
- Specified by:
getShortNamein interfaceSandboxOptions.SandboxOption
-
getTableName
- Specified by:
getTableNamein interfaceSandboxOptions.SandboxOption
-
setTranslation
- Specified by:
setTranslationin interfaceSandboxOptions.SandboxOption
-
getTranslatedName
- Specified by:
getTranslatedNamein interfaceSandboxOptions.SandboxOption
-
getTooltip
- Specified by:
getTooltipin interfaceSandboxOptions.SandboxOption- Overrides:
getTooltipin classIntegerConfigOption
-
fromTable
- Specified by:
fromTablein interfaceSandboxOptions.SandboxOption
-
toTable
- Specified by:
toTablein interfaceSandboxOptions.SandboxOption
-
setCustom
public void setCustom()- Specified by:
setCustomin interfaceSandboxOptions.SandboxOption
-
isCustom
public boolean isCustom()- Specified by:
isCustomin interfaceSandboxOptions.SandboxOption
-
setPageName
- Specified by:
setPageNamein interfaceSandboxOptions.SandboxOption
-
getPageName
- Specified by:
getPageNamein interfaceSandboxOptions.SandboxOption
-
setValueTranslation
-
getValueTranslation
-
getValueTranslationByIndex
-
getValueTranslationByIndexOrNull
-