Server.Lobby.getClientsInfo C# (CSharp) Méthode

getClientsInfo() public méthode

public getClientsInfo ( String gametype ) : String
gametype String
Résultat String
        public String getClientsInfo(String gametype)
        {
            String infos = "";
            foreach (ServerClient client in clients)
            {
                if (client.gametype.Equals(gametype))
                {
                    infos += client.name + "," + client.ip + "," + client.port + ";";
                }
            }
            return infos;
        }