コード例 #1
0
 public AutoModerator(IConfig config, IChatManagerServer chatManager)
 {
     _config               = config;
     _chatManager          = chatManager;
     _exemptBlockTypePairs = new BlockTypePairCollection();
     _grids   = new GridTracker(config);
     _players = new PlayerTracker(config);
     _entityGpsBroadcaster = new EntityGpsBroadcaster(config);
     _questTracker         = new QuestTracker(config, chatManager);
     _punishExecutor       = new PunishExecutor(config, _exemptBlockTypePairs);
     _punishChatFeed       = new PunishChatFeed(config, _chatManager);
 }