Home › Class layouts › AI › AI::CivKnowledge

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

GameCore::AI::CivKnowledge — class, size 1824 bytes (0x720).

Linux offset Member Type
0x0 m_knownCities CityKnowledgeList
0x18 m_playerArmies AI::ArmyKnowledge[]
0x618 m_totalHostileArmiesOfType UnitIndexList<int>
0x638 m_barbarians BarbarianKnowledgeList
0x650 m_playerKnowledge PlayerKnowledgeList
0x668 m_warKnowledge WarKnowledgeList
0x680 m_tradeKnowledge AI::TradeKnowledge
0x6e8 m_owner PlayerTypes
0x6f0 m_yieldAverage Types::Vector<FixedPointT<8>, Types::LinearAlloc::Default<1, 0> >
0x708 m_yieldError Types::Vector<FixedPointT<8>, Types::LinearAlloc::Default<1, 0> >