Class BindSetting
java.lang.Object
org.rusherhack.core.setting.Setting<org.rusherhack.core.bind.key.IKey>
org.rusherhack.client.api.setting.BindSetting
- All Implemented Interfaces:
org.rusherhack.core.feature.IFeature,org.rusherhack.core.interfaces.IHideable,org.rusherhack.core.interfaces.INamed,org.rusherhack.core.serialize.ISerializable<com.google.gson.JsonElement>,org.rusherhack.core.serialize.JsonSerializable
public class BindSetting
extends org.rusherhack.core.setting.Setting<org.rusherhack.core.bind.key.IKey>
-
Constructor Summary
ConstructorsConstructorDescriptionBindSetting(String name, String description, org.rusherhack.core.bind.key.IKey value) BindSetting(String name, org.rusherhack.core.bind.key.IKey value) -
Method Summary
Modifier and TypeMethodDescriptionbooleandeserializeValue(com.google.gson.JsonElement json) org.rusherhack.core.bind.key.IKeyparseValue(String string, boolean set) com.google.gson.JsonElementsetChangeAction(Runnable run) setVisibility(BooleanSupplier tester) Methods inherited from class org.rusherhack.core.setting.Setting
addSubSettings, deserialize, getAllSubSettings, getConsumer, getDefaultValue, getDescription, getDisplayName, getFullName, getName, getParent, getSubSetting, getSubSettings, getValue, isHidden, isHiddenByDefault, reset, reset, serialize, setDefaultValue, setDescription, setHidden, setShouldSerialize, setValue, setValueObj, shouldSerializeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.rusherhack.core.interfaces.INamed
getAliasesMethods inherited from interface org.rusherhack.core.serialize.ISerializable
shouldAutoSave
-
Constructor Details
-
BindSetting
-
BindSetting
-
-
Method Details
-
parseValue
- Specified by:
parseValuein classorg.rusherhack.core.setting.Setting<org.rusherhack.core.bind.key.IKey>
-
getDisplayValue
- Specified by:
getDisplayValuein classorg.rusherhack.core.setting.Setting<org.rusherhack.core.bind.key.IKey>
-
deserializeValue
public boolean deserializeValue(com.google.gson.JsonElement json) - Specified by:
deserializeValuein classorg.rusherhack.core.setting.Setting<org.rusherhack.core.bind.key.IKey>
-
serializeValue
public com.google.gson.JsonElement serializeValue()- Specified by:
serializeValuein classorg.rusherhack.core.setting.Setting<org.rusherhack.core.bind.key.IKey>
-
setVisibility
- Overrides:
setVisibilityin classorg.rusherhack.core.setting.Setting<org.rusherhack.core.bind.key.IKey>
-
setChangeAction
- Overrides:
setChangeActionin classorg.rusherhack.core.setting.Setting<org.rusherhack.core.bind.key.IKey>
-
onChange
- Overrides:
onChangein classorg.rusherhack.core.setting.Setting<org.rusherhack.core.bind.key.IKey>
-