Class NetworkRegistrar
Singleton used to notify network components about register and unregister events.
Inheritance
System.Object
NetworkRegistrar
Assembly: cs.temp.dll.dll
Syntax
public sealed class NetworkRegistrar : NetworkComponent
Fields
SyncChannel
Declaration
Field Value
Type |
Description |
System.Byte |
|
Methods
OnDestroy()
Declaration
protected override void OnDestroy()
Overrides
OnNetworkConnect(Peer)
Declaration
public override void OnNetworkConnect(Peer peer)
Parameters
Type |
Name |
Description |
Peer |
peer |
|
Overrides
OnNetworkDisconnect(Peer)
Declaration
public override void OnNetworkDisconnect(Peer peer)
Parameters
Type |
Name |
Description |
Peer |
peer |
|
Overrides
OnNetworkMessage(Peer, Reader, MessageReceived)
Declaration
public override void OnNetworkMessage(Peer peer, Reader reader, MessageReceived info)
Parameters
Overrides
OnNetworkRegister(NetworkComponent)
Declaration
public override void OnNetworkRegister(NetworkComponent component)
Parameters
Overrides
OnNetworkResend(Peer, Peer, Reader, MessageReceived)
Declaration
public override bool OnNetworkResend(Peer origin, Peer peer, Reader reader, MessageReceived info)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Overrides
OnNetworkUnregister(NetworkComponent)
Declaration
public override void OnNetworkUnregister(NetworkComponent component)
Parameters
Overrides