Ejemplo n.º 1
0
        public static ServerInfoLobbyMessageServer Send(NetworkConnection clientConn, string serverName, string serverDesc, string serverDiscordID)
        {
            ServerInfoLobbyMessageServer msg = new ServerInfoLobbyMessageServer
            {
                ServerName      = serverName,
                ServerDesc      = serverDesc,
                ServerDiscordID = serverDiscordID
            };

            msg.SendTo(clientConn);
            return(msg);
        }
Ejemplo n.º 2
0
 public override void Process()
 {
     ServerInfoLobbyMessageServer.Send(SentByPlayer.Connection, ServerData.ServerConfig.ServerName, ServerInfoUILobby.serverDesc, ServerInfoUILobby.serverDiscordID);
 }