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); }
public PunishExecutor(IConfig config, BlockTypePairCollection exemptBlockPairs) { _config = config; _exemptBlockPairs = exemptBlockPairs; _punishedIds = new HashSet <long>(); }