mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-03-15 13:25:09 +00:00
# Pull Request Compilation fix which making possible compiling without bigobj parameter --- ## How to Test the Changes - compile using Visual Studio without bigobj parameter ## Complexity & Impact Does this change add new decision branches? - - [x] No - - [ ] Yes (**explain below**) Does this change increase per-bot or per-tick processing? - - [x] No - - [ ] Yes (**describe and justify impact**) Could this logic scale poorly under load? - - [x] No - - [ ] Yes (**explain why**) --- ## Defaults & Configuration Does this change modify default bot behavior? - - [x] No - - [ ] Yes (**explain why**) ## AI Assistance Was AI assistance (e.g. ChatGPT or similar tools) used while working on this change? - - [ ] No - - [x] Yes (**explain below**) Automate file creation --- ## Final Checklist - - [x] Stability is not compromised - - [x] Performance impact is understood, tested, and acceptable - - [x] Added logic complexity is justified and explained - - [x] Documentation updated if needed
15 lines
583 B
C++
15 lines
583 B
C++
#include "AiObjectContext.h"
|
|
#include "StrategyContext.h"
|
|
#include "Ai/Dungeon/DungeonStrategyContext.h"
|
|
#include "Ai/Raid/RaidStrategyContext.h"
|
|
|
|
void AiObjectContext::BuildSharedStrategyContexts(SharedNamedObjectContextList<Strategy>& strategyContexts)
|
|
{
|
|
strategyContexts.Add(new StrategyContext());
|
|
strategyContexts.Add(new MovementStrategyContext());
|
|
strategyContexts.Add(new AssistStrategyContext());
|
|
strategyContexts.Add(new QuestStrategyContext());
|
|
strategyContexts.Add(new DungeonStrategyContext());
|
|
strategyContexts.Add(new RaidStrategyContext());
|
|
}
|