-
Method Summary
int
int
int
Gets the value of the parameter with the provided id if available, otherwise defaultValue
int
int[]
Gets the value of the parameter with the provided id if available, otherwise defaultValue
.
int
int
boolean
Methods inherited from interface net.botwithus.rs3.game.js5.types.configs.ConfigType
getId
Methods inherited from interface net.botwithus.rs3.game.annotations.Onymous
getName
-
Method Details
-
-
-
getCombatLevel
int getCombatLevel()
-
getCurrentState
@NotNull
@NotNull NpcType getCurrentState()
-
-
-
getCurrentStateId
int getCurrentStateId()
-
getVarbitId
int getVarbitId()
-
getVarpId
int getVarpId()
-
getStatesIds
int[] getStatesIds()
-
hasParam
boolean hasParam(int paramId)
-
getIntParam
int getIntParam(int paramId)
Gets the value of the parameter with the provided id if available, otherwise defaultValue
- Parameters:
paramId
- The id of the ParamType
that this ConfigType has a value for.
- Returns:
- The parameter's value if available
-
getStringParam
@Nullable
@Nullable String getStringParam(int paramId)
Gets the value of the parameter with the provided id if available, otherwise defaultValue
.
This can be null.
- Parameters:
paramId
- The id of the ParamType
that this ConfigType has a value for.
- Returns:
- The parameter's value if available