com.onlineobject.objectnet Namespace

INetworkContainer Methods

The INetworkContainer type exposes the following members.

Methods


  Name Description
Public method GetElement(GameObject)
Retrieves the network element associated with a GameObject.
Public method GetElement(Int32)
Retrieves the network element associated with a network ID.
Public method GetElement(UInt16)
Retrieves the network element associated with a player ID.
Public method GetElements
Retrieves all registered network elements.
Public method HasEvent
Checks if an event with the specified event code exists.
Public method InvokeEvent
Invokes an event with the specified event code, passing in a data stream.
Public method IsRegistered(INetworkElement)
Checks if a network element is registered with the container.
Public method IsRegistered(GameObject)
Checks if a GameObject is associated with a registered network element.
Public method IsRegistered(Int32)
Checks if a network ID is associated with a registered network element.
Public method IsRegistered(UInt16)
Checks if a player ID is associated with a registered network element.
Public method Register
Registers a network element with the container.
Public method RegisterEventsManager
Registers an events manager with the network container.
Public method UnRegister(INetworkElement)
Unregisters a network element from the container.
Public method UnRegister(Int32)
Unregisters a network element using its network ID.
Public method UnRegisterEventsManager
Unregisters an events manager from the network container.
Public method UpdateNetworkId
Updates the network ID for the container, optionally incrementally.