/// <summary> /// Initializes a new instance of the <see cref="PlayerEventProcessor"/> class. /// </summary> /// <param name="sst">The main class.</param> public PlayerEventProcessor(SynServerTool sst) { _sst = sst; _qlRanksHelper = new QlRanksHelper(); _seenDb = new DbSeenDates(); _cfgHandler = new ConfigHandler(); }
/// <summary> /// Initializes a new instance of the <see cref="CommandProcessor"/> class. /// </summary> /// <param name="sst">The main class.</param> public CommandProcessor(SynServerTool sst) { _sst = sst; _users = new DbUsers(); _cmdList = new CommandList(_sst); _cfgHandler = new ConfigHandler(); _playerCommandTime = new Dictionary <string, DateTime>(); }
/// <summary> /// Initializes a new instance of the <see cref="VoteHandler"/> class. /// </summary> /// <param name="sst">The main class.</param> public VoteHandler(SynServerTool sst) { _sst = sst; _users = new DbUsers(); }
/// <summary> /// Initializes a new instance of the <see cref="QlCommands"/> class. /// </summary> /// <param name="sst">The main class.</param> public QlCommands(SynServerTool sst) { _sst = sst; }
/// <summary> /// Initializes a new instance of the <see cref="ConsoleTextProcessor"/> class. /// </summary> public ConsoleTextProcessor(SynServerTool sst) { _sst = sst; _playerEventProcessor = new PlayerEventProcessor(_sst); _voteHandler = new VoteHandler(_sst); }
/// <summary> /// Initializes a new instance of the <see cref="ServerEventProcessor"/> class. /// </summary> /// <param name="sst">The main class.</param> public ServerEventProcessor(SynServerTool sst) { _sst = sst; _seenDb = new DbSeenDates(); _qlranksToUpdateFromPlayers = new List <string>(); }
/// <summary> /// Initializes a new instance of the <see cref="BanManager"/> class. /// </summary> /// <param name="sst">The main class.</param> public BanManager(SynServerTool sst) { _sst = sst; _banDb = new DbBans(); }
/// <summary> /// Initializes a new instance of the <see cref="CommandList"/> class. /// </summary> /// <param name="sst">The main tool class.</param> public CommandList(SynServerTool sst) { _sst = sst; Commands = new Dictionary <string, IBotCommand>(StringComparer.InvariantCultureIgnoreCase); InitializeCommands(); }