-
Nested Class Summary
Nested Classes
-
Method Summary
int
long
int
int
Gets the maximum amount of this item that can be bought on the Grand Exchange in a 4 hour session.
int
Gets the value of the parameter with the provided id if available, otherwise -1
int
Gets the value of the parameter with the provided id if available.
boolean
Whether or not this config includes overrides for the default value of a given ParamType.
boolean
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
-
getNotedItemId
int getNotedItemId()
-
-
getBackpackOptions
@NotNull
@NotNull List<String> getBackpackOptions()
-
-
-
getEquipmentSlotId
int getEquipmentSlotId()
-
getGrandExchangeBuyLimit
int getGrandExchangeBuyLimit()
Gets the maximum amount of this item that can be bought on the Grand Exchange in a 4 hour session.
- Returns:
- a positive int or 0 if it has no limit or can't be traded (not sure which)
-
getCategory
int getCategory()
-
isMembersOnly
boolean isMembersOnly()
-
-
hasParam
boolean hasParam(int paramId)
Whether or not this config includes overrides for the default value of a given ParamType.
- Parameters:
paramId
- the id of the ParamType to see if this config overrides.
- Returns:
- true if this config overrides the default value of the ParamType with the provided id.
-
getIntParam
int getIntParam(int paramId)
Gets the value of the parameter with the provided id if available, otherwise -1
- Parameters:
paramId
- The id of the ParamType
that this ConfigType values for.
- Returns:
- The parameter's value if available, otherwise -1.
-
getStringParam
@Nullable
@Nullable String getStringParam(int paramId)
Gets the value of the parameter with the provided id if available.
This can be null if you set the default value to null.
- Parameters:
paramId
- The id of the ParamType
that this ConfigType has values for.
- Returns:
- The parameter's value if available, otherwise null
-