Home › Class layouts › Barbarian › Barbarian::Instance

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).

Barbarian::Instance

GameCore::Barbarian::Instance — class, size 432 bytes (0x1b0).

Linux offset Member Type
0x0 m_player Player::Instance*
0x8 m_tribeName BarbarianNameTypes
0xc m_tribeIndex int
0x10 m_campLocation PlotCoord
0x18 m_living bool
0x1c m_rampageTarget PlayerTypes
0x20 m_boldness int
0x24 m_maxNumScouts int
0x28 m_curNumScouts int
0x2c m_turnsSinceScoutDeath int
0x30 m_maxStandardMilitaryUnits int
0x34 m_numStandardMilitaryUnits int
0x38 m_scoutingBehaviorTree IDType
0x3c m_raidingBehaviorTree IDType
0x40 m_cityAttackBehaviorTree IDType
0x48 m_scoutedCities Types::Vector<GameCore::Player::ComponentID, Types::LinearAlloc::Default<1, 0> >
0x60 m_raidedCities Types::Vector<GameCore::Player::ComponentID, Types::LinearAlloc::Default<1, 0> >
0x78 m_raidingScore int
0x7c m_turnsInEnemyTerritory int
0x80 m_turnsSinceLastWarriorSpawn int
0x84 m_percentRangedUnits int
0x88 m_turnsBetweenWarriorSpawn int
0x90 m_neededUnitTags Types::Vector<String::BasicT<String::BasicStringAlloc, ASCII>, Types::LinearAlloc::Default<1, 0> >
0xa8 m_requiredMeleeSpawn int
0xac m_requiredRangedSpawn int
0xb0 m_requiredSiegeSpawn int
0xb4 m_requiredSupportSpawn int
0xb8 m_kProperties Data::TypedVariantMap
0x110 m_clanTechs eastl::vector<GameCore::TechTypes, eastl::allocator>
0x130 m_iTechStealTurnsCooldown int
0x134 m_iConversionPoints int
0x138 m_aPlayerBribeTurnsRemaining eastl::vector<int, eastl::allocator>
0x158 m_aClanPlayerStats ClanPlayerStatArray
0x178 m_aInciteTargets Utilities::WeightedVector<GameCore::PlayerTypes, 1>
0x1a8 m_iLocalFoodYield int