Interface INetObjectManager
Interface for INetObject manager.
Namespace: Eco.Shared.Networking
Assembly: Eco.Shared.dll
Syntax
public interface INetObjectManager
Methods
Add(INetObject, Int32)
Adds netObject
with associated id
to INetObjectManager.
Declaration
void Add(INetObject netObject, int id)
Parameters
Type | Name | Description |
---|---|---|
INetObject | netObject | |
System.Int32 | id |
GetNextID()
Allocates and returns next INetObject identifier.
Declaration
int GetNextID()
Returns
Type | Description |
---|---|
System.Int32 |
Remove(INetObject)
Removes netObject
from INetObjectManager.
Declaration
void Remove(INetObject netObject)
Parameters
Type | Name | Description |
---|---|---|
INetObject | netObject |