public BuildManager(Dictionary <Race, BuildChoices> buildChoices, DebugService debugService, IMacroBalancer macroBalancer, IBuildDecisionService buildDecisionService, IEnemyPlayerService enemyPlayerService, ChatHistory chatHistory, EnemyStrategyHistory enemyStrategyHistory) { BuildChoices = buildChoices; DebugService = debugService; MacroBalancer = macroBalancer; BuildDecisionService = buildDecisionService; EnemyPlayerService = enemyPlayerService; ChatHistory = chatHistory; EnemyStrategyHistory = enemyStrategyHistory; }
public BuildManager(DefaultSharkyBot defaultSharkyBot) { BuildChoices = defaultSharkyBot.BuildChoices; DebugService = defaultSharkyBot.DebugService; MacroBalancer = defaultSharkyBot.MacroBalancer; BuildDecisionService = defaultSharkyBot.BuildDecisionService; EnemyPlayerService = defaultSharkyBot.EnemyPlayerService; ChatHistory = defaultSharkyBot.ChatHistory; EnemyStrategyHistory = defaultSharkyBot.EnemyStrategyHistory; }
public ChatManager(HttpClient httpClient, ChatHistory chatHistory, SharkyOptions sharkyOptions, IChatDataService chatDataService, IEnemyPlayerService enemyPlayerManager, IEnemyNameService enemyNameService, ChatService chatService, ActiveChatData activeChatData) { HttpClient = httpClient; ChatHistory = chatHistory; SharkyOptions = sharkyOptions; ChatDataService = chatDataService; EnemyPlayerManager = enemyPlayerManager; EnemyNameService = enemyNameService; ChatService = chatService; ActiveChatData = activeChatData; ApiEnabled = false; LastResponseTimes = new Dictionary <TypeEnum, int>(); ChatTypeFrequencies = new Dictionary <TypeEnum, int>(); foreach (var chatType in Enum.GetValues(typeof(TypeEnum)).Cast <TypeEnum>()) { ChatTypeFrequencies[chatType] = 3; } }