public class StateOption extends Option
Class StateOption. Provides stateoption functionality for the Hytale server.
java.lang.Object > Option > StateOption
Field Summary
state
protected
String
state
Field state.
subState
protected
String
subState
Field subState.
stateIndex
protected
int
stateIndex
Field stateIndex.
subStateIndex
protected
int
subStateIndex
Field subStateIndex.
Method Detail
StateOption
public
protected
StateOption
()
Method StateOption.
getState
public
String
getState
()
Method getState.
getSubState
public
String
getSubState
()
Method getSubState.
getStateIndex
public
int
getStateIndex
()
Method getStateIndex.
getSubStateIndex
public
int
getSubStateIndex
()
Method getSubStateIndex.
setStateIndex
public
void
setStateIndex
(final int stateIndex, final int subStateIndex)
Method setStateIndex.
- Parameters:
final intstateIndexfinal intsubStateIndex
toString
public
String
toString
()
Method toString.
KeyedCodec
public
new
KeyedCodec
("SubState", Codec.STRING)
Method KeyedCodec.
- Parameters:
"SubState""SubState"Codec.STRINGCodec.STRING