Retrieves an MMOItem object from its id property.
Namespace:
Sfs2X.Entities
Assembly:
SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax public IMMOItem GetMMOItem(
int id
)
Parameters
- id
- Type: SystemInt32
The id of the item to be retrieved.
Return Value
Type:
IMMOItemAn
MMOItem object, or
null if the item with the passed id is not in proximity of the current user.
Remarks
The item is available to the current user if it falls within his Area of Interest only.
See Also