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