public static void OnTcpPlayersSync(Packet packet) { while (packet.ReadBool()) { int idPlayer = packet.ReadInt(); string name = packet.ReadString(); if (idPlayer != Client.myId) { Console.WriteLine(idPlayer + " : " + name); } } }
public static void OnTcpPlayersSync(Packet packet) { while (packet.ReadBool()) { int idPlayer = packet.ReadInt(); string name = packet.ReadString(); if (idPlayer != Client.myId) { Console.WriteLine(idPlayer + " : " + name); } } }