Exemple #1
0
 private void OnClientError(NetworkMessage netMsg)
 {
     Debug.Log("Client error from Master");
 }
Exemple #2
0
 // --------------- System handlers -----------------
 private void OnClientConnect(NetworkMessage netMsg)
 {
     Debug.Log("Connected to server " + netMsg.conn.address);
     ClientIdentificationRequest();
 }
Exemple #3
0
 private void OnClientDisconnect(NetworkMessage netMsg)
 {
     Debug.Log("Client Disconnected from Master");
 }
 public void SendGetRoomPlayerInfos()
 {
     SendMsg(RoomSingle.roomIP, NetworkConstent.UDPServerPort,
             NetworkMessage.GetBytes(new NetworkMessage(14, NetworkTools.GetLocalIP(), null)));
 }