Méthode | 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 |
Méthode | Description | |
---|---|---|
OnDestroy ( ) : void | ||
Start ( ) : void | ||
Update ( ) : void |
public OnNetworkError ( NetEndPoint endPoint, int socketErrorCode ) : void | ||
endPoint | NetEndPoint | |
socketErrorCode | int | |
Résultat | void |
public OnNetworkLatencyUpdate ( NetPeer peer, int latency ) : void | ||
peer | NetPeer | |
latency | int | |
Résultat | void |
public OnNetworkReceive ( NetPeer peer, NetDataReader reader ) : void | ||
peer | NetPeer | |
reader | NetDataReader | |
Résultat | void |
public OnNetworkReceiveUnconnected ( NetEndPoint remoteEndPoint, NetDataReader reader, UnconnectedMessageType messageType ) : void | ||
remoteEndPoint | NetEndPoint | |
reader | NetDataReader | |
messageType | UnconnectedMessageType | |
Résultat | void |
public OnPeerConnected ( NetPeer peer ) : void | ||
peer | NetPeer | |
Résultat | void |
public OnPeerDisconnected ( NetPeer peer, DisconnectReason, reason, int socketErrorCode ) : void | ||
peer | NetPeer | |
reason | DisconnectReason, | |
socketErrorCode | int | |
Résultat | void |