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); }
public override void Process() { ServerInfoLobbyMessageServer.Send(SentByPlayer.Connection, ServerData.ServerConfig.ServerName, ServerInfoUILobby.serverDesc, ServerInfoUILobby.serverDiscordID); }