Package net.runelite.api
Interface ParamHolder
-
- All Known Subinterfaces:
ItemComposition,NPCComposition,ObjectComposition,StructComposition
public interface ParamHolderA composition that can hold `param` keys. This lets Jagex attach arbitrary constant data to certain items, objects, npcs, or structs for use in cs2- See Also:
ParamID
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetIntValue(int paramID)Gets the value of a givenParamID, or its default if it is unsetIterableHashTable<Node>getParams()StringgetStringValue(int paramID)Gets the value of a givenParamID, or its default if it is unsetvoidsetParams(IterableHashTable<Node> params)voidsetValue(int paramID, int value)Sets the value of a givenParamIDvoidsetValue(int paramID, String value)Sets the value of a givenParamID
-
-
-
Method Detail
-
getParams
IterableHashTable<Node> getParams()
-
setParams
void setParams(IterableHashTable<Node> params)
-
getIntValue
int getIntValue(int paramID)
Gets the value of a givenParamID, or its default if it is unset
-
setValue
void setValue(int paramID, int value)Sets the value of a givenParamID
-
getStringValue
String getStringValue(int paramID)
Gets the value of a givenParamID, or its default if it is unset
-
-