Esempio n. 1
0
 /// <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();
 }
Esempio n. 2
0
 /// <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>();
 }
Esempio n. 3
0
 /// <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();
 }
Esempio n. 4
0
 /// <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;
 }
Esempio n. 5
0
 /// <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);
 }
Esempio n. 6
0
 /// <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>();
 }
Esempio n. 7
0
 /// <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();
 }
Esempio n. 8
0
 /// <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();
 }