NetworkContainerBase Methods
The NetworkContainerBase type exposes the following members.
Methods
Name | Description | |
---|---|---|
GetElement(GameObject) |
Retrieves the network element associated with the given GameObject.
|
|
GetElement(Int32) |
Retrieves the network element associated with the given network ID.
|
|
GetElement(UInt16) |
Retrieves the network element associated with the given player ID.
|
|
GetElements |
Retrieves all registered network elements.
|
|
HasEvent |
Checks if any registered event manager has the specified event code.
|
|
InvokeEvent |
Invokes a network event by its event code, passing the data stream to the event manager.
|
|
IsRegistered(INetworkElement) |
Checks if the network element is registered using its network ID.
|
|
IsRegistered(GameObject) |
Checks if the GameObject is registered as a network element.
|
|
IsRegistered(UInt16) |
Checks if a player is registered using their player ID.
|
|
IsRegistered(Int32) |
Checks if a network element is registered using its network ID.
|
|
Register |
Registers a network element with the container.
|
|
RegisterEventsManager |
Registers an event manager to the network system.
|
|
UnRegister(INetworkElement) |
Unregisters a network element from the container.
|
|
UnRegister(Int32) |
Unregisters a network element from the container by its network ID.
|
|
UnRegisterEventsManager |
Unregisters an event manager from the network system.
|
|
UpdateNetworkId |
Updates the source network ID for the container.
|