Beispiel #1
0
 public static void Write(this NetOutgoingMessage msg, ServerInfo inf)
 {
     msg.Write(inf.Name);
     msg.Write(inf.IP);
     msg.Write(inf.PlayersCount);
     msg.Write(inf.MaxPlayersCount);
 }
Beispiel #2
0
 public bool OnDiscoveryResponse(ServerInfo inf)
 {
     serverInfos.Add(inf);
     UpdateServerList();
     return false;
 }