Home › Class layouts › AI › AI::BehaviorTree::NearestCityJob

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::NearestCityJob

GameCore::AI::BehaviorTree::NearestCityJob — class, size 72 bytes (0x48).

Bases: Platform::Job at 0x0

Linux offset Member Type
0x28 m_ownerId PlayerTypes
0x2c m_unitId IDType
0x30 m_goalDistrict DistrictTypes
0x34 m_bestLocation PlotCoord
0x3c m_needsGreatWorkBuilding bool
0x40 m_neededDistrict DistrictTypes