Пример #1
0
        public void RunNub2(int num)
        {
            var con = new ServerConnection();
            con.CommandRecieved += (sender, args) => {
                if (args.Command == "TASServer") {
                    con.SendCommand("LOGIN");
                }
            };

            con.Connect(GlobalConst.LobbyServerHost, GlobalConst.LobbyServerPort);
            
        }
 public ConnectionEventArgs(ServerConnection connection, string command, string[] parameters)
 {
     Connection = connection;
     this.command = command;
     Parameters = parameters;
 }