Example #1
0
        private void OnC2SenterRoom(Socket socket, C2SBattleCommand msg)
        {
            id++;
            mPlayerIDList.Add(id);

            S2CEnterRoom data = new S2CEnterRoom();

            data.PlayerId = id;
            SocketServer.Instance.SendMessage(ServiceNo.S2CenterRoom, data, socket);
        }
Example #2
0
 public void S2CEnterRoom(S2CEnterRoom msg)
 {
     mPlayerID = msg.PlayerId;
     C2SReadyBattle();
 }