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); }
public void S2CEnterRoom(S2CEnterRoom msg) { mPlayerID = msg.PlayerId; C2SReadyBattle(); }