ItemStats

Methods
5
Fields
None

Getting one

ItemStats.new(…)
itemManager:getItemStats(…)

Methods

MethodReturnsDescription
isEquipable()booleanWhether the item can be worn.
getWeight()numberThe weight in kilograms (0 when the client has not loaded the item).
getGeLimit()numberThe Grand Exchange buy limit (0 when unknown).
getEquipment()ItemEquipmentStats?The equipment bonuses, or nil for an item that is not worn.
new(boolean, number, number, ItemEquipmentStats?)ItemStatsItemStats.new(equipable, weight, geLimit, equipment).

Returned by

MethodReturnsDescription
ItemManager.getItemStatsItemStats?The item's stats, or nil for a noted item or one with no known stats: equipable, weight (kg), buy limit and equipment bonuses, of its can…
ItemStatsClass.newItemStatsItemStats.new(equipable, weight, geLimit, equipment).

Method details

getWeight

getWeight: (ItemStats) -> number

The weight in kilograms (0 when the client has not loaded the item).