An MMOItem object represents an active non-player entity inside an MMORoom.
Inheritance HierarchySystemObject
Sfs2X.EntitiesMMOItem
Namespace:
Sfs2X.Entities
Assembly:
SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntaxpublic class MMOItem : IMMOItem
The MMOItem type exposes the following members.
Properties
| Name | Description |
---|
 | AOIEntryPoint |
Returns the entry point of this item in the current user's AoI.
|
 | Id |
Indicates the id of this item.
|
Top
Methods
| Name | Description |
---|
 | ContainsVariable |
Indicates whether this item has the specified MMOItem Variable set or not.
|
 | GetVariable |
Retrieves an MMOItem Variable from its name.
|
 | GetVariables |
Retrieves all the MMOItem Variables of this item.
|
Top
Remarks
MMOItems can be used to represent bonuses, triggers, bullets, etc, or any other non-player entity that will be handled using the MMORoom's rules of visibility.
This means that whenever one or more MMOItems fall within the Area of Interest of a user, their presence will be notified to that user by means of the
PROXIMITY_LIST_UPDATE event.
MMOItems are identified by a unique ID and can have one or more MMOItem Variables associated to store custom data.
NOTE: MMOItems can be created in a server side Extension only; client side creation is not allowed.
See Also