Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
OnDestroy ( ) : void | ||
Start ( ) : void | ||
Update ( ) : void |
public OnNetworkError ( NetEndPoint endPoint, int socketErrorCode ) : void | ||
endPoint | NetEndPoint | |
socketErrorCode | int | |
Результат | void |
public OnNetworkLatencyUpdate ( NetPeer peer, int latency ) : void | ||
peer | NetPeer | |
latency | int | |
Результат | void |
public OnNetworkReceive ( NetPeer peer, NetDataReader reader ) : void | ||
peer | NetPeer | |
reader | NetDataReader | |
Результат | void |
public OnNetworkReceiveUnconnected ( NetEndPoint remoteEndPoint, NetDataReader reader, UnconnectedMessageType messageType ) : void | ||
remoteEndPoint | NetEndPoint | |
reader | NetDataReader | |
messageType | UnconnectedMessageType | |
Результат | void |
public OnPeerConnected ( NetPeer peer ) : void | ||
peer | NetPeer | |
Результат | void |
public OnPeerDisconnected ( NetPeer peer, DisconnectReason, reason, int socketErrorCode ) : void | ||
peer | NetPeer | |
reason | DisconnectReason, | |
socketErrorCode | int | |
Результат | void |