예제 #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();
 }
예제 #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>();
 }
예제 #3
0
파일: VoteHandler.cs 프로젝트: syncore/SST
 /// <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();
 }
예제 #4
0
파일: QlCommands.cs 프로젝트: syncore/SST
 /// <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;
 }
예제 #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);
 }
예제 #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>();
 }
예제 #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();
 }
예제 #8
0
파일: CommandList.cs 프로젝트: syncore/SST
 /// <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();
 }