Method | Description | |
---|---|---|
OnNetworkError ( NetEndPoint endPoint, int socketErrorCode ) : void | ||
OnNetworkLatencyUpdate ( NetPeer peer, int latency ) : void | ||
OnNetworkReceive ( NetPeer peer, NetDataReader reader ) : void | ||
OnNetworkReceiveUnconnected ( NetEndPoint remoteEndPoint, NetDataReader reader, UnconnectedMessageType messageType ) : void | ||
OnPeerConnected ( NetPeer peer ) : void | ||
OnPeerDisconnected ( NetPeer peer, DisconnectReason reason, int socketErrorCode ) : void |
Method | Description | |
---|---|---|
FixedUpdate ( ) : void | ||
OnDestroy ( ) : void | ||
Start ( ) : void | ||
Update ( ) : void |
public OnNetworkError ( NetEndPoint endPoint, int socketErrorCode ) : void | ||
endPoint | NetEndPoint | |
socketErrorCode | int | |
return | void |
public OnNetworkLatencyUpdate ( NetPeer peer, int latency ) : void | ||
peer | NetPeer | |
latency | int | |
return | void |
public OnNetworkReceive ( NetPeer peer, NetDataReader reader ) : void | ||
peer | NetPeer | |
reader | NetDataReader | |
return | void |
public OnNetworkReceiveUnconnected ( NetEndPoint remoteEndPoint, NetDataReader reader, UnconnectedMessageType messageType ) : void | ||
remoteEndPoint | NetEndPoint | |
reader | NetDataReader | |
messageType | UnconnectedMessageType | |
return | void |
public OnPeerConnected ( NetPeer peer ) : void | ||
peer | NetPeer | |
return | void |
public OnPeerDisconnected ( NetPeer peer, DisconnectReason reason, int socketErrorCode ) : void | ||
peer | NetPeer | |
reason | DisconnectReason | |
socketErrorCode | int | |
return | void |