static class ItemsGround (client-side)
Available since version: 0.3.0
This class represents item ground manager.
Properties
No properties.
Methods
getById
Note
the returned object is always a new instance, to compare them, compare their ids.
This method will retrieve the item ground object by its unique id.
ItemGround getById(int itemGroundId)
Parameters:
intitemGroundId: the unique item ground id.
Returns ItemGround:
the item ground object or null if the object cannot be found.
getByItem
Note
the returned object is always a new instance, to compare them, compare their ids.
This method will retrieve the item ground object by item instance.
ItemGround getByItem(Item item)
Parameters:
Itemitem: the game object representing item.
Returns ItemGround:
the item ground object or null if the object cannot be found.
Callbacks
No callbacks.