Home › Class layouts › AI › AI::BehaviorTree::AddGoalTechData

Needs the Community Extension. Not available in the unmodified game; works while the Community Extension mod is active (its own functions, or raw memory access with Mem/ObjMem).

AI::BehaviorTree::AddGoalTechData

GameCore::AI::BehaviorTree::AddGoalTechData — structure, size 168 bytes (0xa8).

Linux offset Member Type
0x0 GoalUnits AI::BehaviorTree::SharedData<const Types::Vector<GameCore::AI::BehaviorTree::BehaviorTreePriority<GameCore::UnitTypes>, Types::LinearAlloc::Default<1, 0> > >
0x10 GoalBuildings AI::BehaviorTree::SharedData<const Types::Vector<GameCore::AI::BehaviorTree::BehaviorTreePriority<GameCore::BuildingTypes>, Types::LinearAlloc::Default<1, 0> > >
0x20 GoalImprovements AI::BehaviorTree::SharedData<const Types::Vector<GameCore::AI::BehaviorTree::BehaviorTreePriority<GameCore::ImprovementTypes>, Types::LinearAlloc::Default<1, 0> > >
0x30 GoalPlot AI::BehaviorTree::SharedData<const GameCore::PlotCoord>
0x40 GoalTechs AI::BehaviorTree::SharedData<const Types::Vector<GameCore::AI::BehaviorTree::BehaviorTreePriority<GameCore::TechTypes>, Types::LinearAlloc::Default<1, 0> > >
0x50 PassAll AI::BehaviorTree::SharedData<const bool>
0x60 GoalCivics AI::BehaviorTree::SharedData<const Types::Vector<GameCore::AI::BehaviorTree::BehaviorTreePriority<GameCore::CivicTypes>, Types::LinearAlloc::Default<1, 0> > >
0x70 ContractIds AI::BehaviorTree::SharedData<Types::Vector<GameCore::AI::BehaviorTree::BehaviorTreePriority<unsigned int>, Types::LinearAlloc::Default<1, 0> > >
0x80 PresentValue AI::BehaviorTree::SharedData<const int>
0x90 PresentValueAlreadyIncluded bool
0x94 TechContract IDType
0x98 TechToResearch TechTypes
0x9c CivicContract IDType
0xa0 CivicToResearch CivicTypes
0xa4 ContractOwner PlayerTypes