Home › Class layouts › Player › Player::Heroes

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

Player::Heroes

GameCore::Player::Heroes — class, size 496 bytes (0x1f0).

Linux offset Member Type Lua methods (inferred)
0x0 m_syncArchive FAutoArchiveClassContainer<GameCore::Player::Heroes>
0x98 m_pkParent Player::Instance*
0xa0 m_iGoodyHutDiscoveryChance FAutoVariable<int, GameCore::Player::Heroes>
0xb8 m_abHeroesDiscovered FAutoVariable<eastl::vector<bool, eastl::allocator>, GameCore::Player::Heroes> reads: GameHeroesManager:SetHeroDiscovered
0xe8 m_aiPlayerInfluenceChances FAutoVariable<eastl::vector<int, eastl::allocator>, GameCore::Player::Heroes>
0x118 m_aiPlayerSuzerainCount FAutoVariable<eastl::vector<int, eastl::allocator>, GameCore::Player::Heroes>
0x148 m_aeHeroDiscoveryOrder FAutoVariable<eastl::vector<GameCore::Player::HeroDiscoveryWeightData, eastl::allocator>, GameCore::Player::Heroes> reads: GameHeroesManager:SetHeroDiscovered
0x178 m_aeHeroClaims FAutoVariable<eastl::vector<GameCore::Player::HeroClaimData, eastl::allocator>, GameCore::Player::Heroes>
0x1a8 m_kOnPlayerInitialized Message::Handle
0x1b8 m_kOnPlayerPropertyChanged Message::Handle
0x1c8 m_kOnCityPropertyChanged Message::Handle
0x1d8 m_kOnBuildingConstructed Message::Handle
0x1e8 m_eDiscoverHeroProject ProjectTypes