ParamHolder

Methods
2
Fields
None

Methods

MethodReturnsDescription
getIntValue(number)numberInt param paramID, or the param's default when this does not set it; raises when this sets it as a string. An NPC type's default is 0 whe…
getStringValue(number)stringString param paramID, or the param's default when this does not set it; raises when this sets it as an int. An NPC type's default is ""…

Method details

getIntValue

getIntValue: (ParamHolder, number) -> number

Int param paramID, or the param's default when this does not set it; raises when this sets it as a string. An NPC type's default is 0 where the table does not place the ParamType cache.

getStringValue

getStringValue: (ParamHolder, number) -> string

String param paramID, or the param's default when this does not set it; raises when this sets it as an int. An NPC type's default is "" where the table does not place the ParamType cache.