public ArkModule(IConfigurationRoot config, RCONManager _rcon, CommandHandler commands) { _config = config; _rconManager = _rcon; _storage = Storage.GetInstance(); _commands = commands; }
public StatusClass(string name, string ip, string port, string rconpassword, string mapname, RCONManager manager) { MapName = mapname; owner = manager; _ip = ip; _port = port; _rconpassword = rconpassword; _name = name; _token = new CancellationTokenSource(); t = new Thread(new ThreadStart(Start)); t.Start(); }