Home › Class layouts › Player › Player::Stats

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

GameCore::Player::Stats — class, size 3656 bytes (0xe48).

Linux offset Member Type Lua methods (inferred)
0x0 m_syncArchive FAutoArchiveClassContainer<GameCore::Player::Stats>
0x98 m_iMaxMeleeStrengthTrained FAutoVariable<int, GameCore::Player::Stats> writes: PlayerStats:UpdateMaxMeleeStrengthTrained; reads: PlayerStats:UpdateMaxMeleeStrengthTrained
0xb0 m_iMaxRangedStrengthTrained FAutoVariable<int, GameCore::Player::Stats> writes: PlayerStats:UpdateMaxRangedStrengthTrained; reads: PlayerStats:UpdateMaxRangedStrengthTrained
0xc8 m_iMaxBombardStrengthTrained FAutoVariable<int, GameCore::Player::Stats> writes: PlayerStats:UpdateMaxBombardStrengthTrained; reads: PlayerStats:UpdateMaxBombardStrengthTrained
0xe0 m_iMilitaryStrength FAutoVariable<int, GameCore::Player::Stats>
0xf8 m_iAirMilitaryStrength FAutoVariable<int, GameCore::Player::Stats>
0x110 m_iLandMilitaryStrength FAutoVariable<int, GameCore::Player::Stats>
0x128 m_iNavalMilitaryStrength FAutoVariable<int, GameCore::Player::Stats>
0x140 m_iMilitaryStrengthFromGold FAutoVariable<int, GameCore::Player::Stats>
0x158 m_iBarbariansKilled FAutoVariable<int, GameCore::Player::Stats>
0x170 m_iBarbarianCampsCleared FAutoVariable<int, GameCore::Player::Stats>
0x188 m_iTilesPillaged FAutoVariable<int, GameCore::Player::Stats>
0x1a0 m_iCitiesRevolted FAutoVariable<int, GameCore::Player::Stats>
0x1b8 m_iCitiesAnnexed FAutoVariable<int, GameCore::Player::Stats>
0x1d0 m_iWMDCityHits FAutoVariable<int, GameCore::Player::Stats>
0x1e8 m_iTotalCitiesLostToDisloyalty FAutoVariable<int, GameCore::Player::Stats>
0x200 m_iTotalCitiesGainedFromDisloyalty FAutoVariable<int, GameCore::Player::Stats>
0x218 m_iTotalNumberOfAlliancesFormed FAutoVariable<int, GameCore::Player::Stats>
0x230 m_iTotalNumberOfEmergencyAlliancesFormed FAutoVariable<int, GameCore::Player::Stats>
0x248 m_iGoldSpentLevying FAutoVariable<int, GameCore::Player::Stats>
0x260 m_iEmergenciesJoined FAutoVariable<int, GameCore::Player::Stats>
0x278 m_iDiplomaticVictoryPoints FAutoVariable<TrackedValue, GameCore::Player::Stats>
0x2b8 m_iTotalGovernorsAppointed FAutoVariable<int, GameCore::Player::Stats>
0x2d0 m_iTotalGovernorAssignments FAutoVariable<int, GameCore::Player::Stats>
0x2e8 m_iLifetimeFavor FAutoVariable<int, GameCore::Player::Stats>
0x300 m_iCurrentTurnFavor FAutoVariable<int, GameCore::Player::Stats>
0x318 m_iLastTurnFavor FAutoVariable<int, GameCore::Player::Stats>
0x330 m_xScienceVictoryPoints FAutoVariable<FixedPointT<8>, GameCore::Player::Stats> writes: PlayerStats:ChangeScienceVictoryPoints; reads: PlayerStats:ChangeScienceVictoryPoints
0x348 m_xScienceVictoryPointsPerTurn FAutoVariable<FixedPointT<8>, GameCore::Player::Stats>
0x360 m_aiNumUnitsConstructed FAutoVariable<eastl::vector<int, eastl::allocator>, GameCore::Player::Stats> reads: PlayerUnits:RecomputeAllCosts, PlayerUnits:RecomputeCost
0x390 m_aiNumProjectsAdvanced FAutoVariable<eastl::vector<int, eastl::allocator>, GameCore::Player::Stats>
0x3c0 m_aiWondersLostPlots FAutoVariable<eastl::vector<int, eastl::allocator>, GameCore::Player::Stats>
0x3f0 m_axCachedYields FAutoVariable<Types::Vector<FixedPointT<8>, Types::LinearAlloc::Default<1, 0> >, GameCore::Player::Stats>
0x418 m_aRemovedFeatureCounts FAutoVariable<Types::Vector<int, Types::LinearAlloc::DefaultInline<int, 64, 1, 0> >, GameCore::Player::Stats>
0x550 m_aNationalParkCounts FAutoVariable<Types::Vector<int, Types::LinearAlloc::DefaultInline<int, 64, 1, 0> >, GameCore::Player::Stats>
0x688 m_aPlacedForestCounts FAutoVariable<Types::Vector<int, Types::LinearAlloc::DefaultInline<int, 64, 1, 0> >, GameCore::Player::Stats>
0x7c0 m_aKnownWMDCounts FAutoVariable<Types::Vector<int, Types::LinearAlloc::DefaultInline<int, 64, 1, 0> >, GameCore::Player::Stats>
0x8f8 m_aClearedBanditCampCounts FAutoVariable<Types::Vector<int, Types::LinearAlloc::DefaultInline<int, 64, 1, 0> >, GameCore::Player::Stats>
0xa30 m_aCityStateWarCounts FAutoVariable<Types::Vector<int, Types::LinearAlloc::DefaultInline<int, 64, 1, 0> >, GameCore::Player::Stats>
0xb68 m_aPlayersRevived FAutoVariable<Types::Vector<int, Types::LinearAlloc::DefaultInline<int, 64, 1, 0> >, GameCore::Player::Stats>
0xca0 m_FertilityAddedByDroughts FAutoVariable<int, GameCore::Player::Stats>
0xcb8 m_TilesDamagedByDroughts FAutoVariable<int, GameCore::Player::Stats>
0xcd0 m_PopulationLostByDroughts FAutoVariable<int, GameCore::Player::Stats>
0xce8 m_UnitsKilledByDroughts FAutoVariable<int, GameCore::Player::Stats>
0xd00 m_FertilityAddedByFloods FAutoVariable<int, GameCore::Player::Stats>
0xd18 m_TilesDamagedByFloods FAutoVariable<int, GameCore::Player::Stats>
0xd30 m_PopulationLostByFloods FAutoVariable<int, GameCore::Player::Stats>
0xd48 m_UnitsKilledByFloods FAutoVariable<int, GameCore::Player::Stats>
0xd60 m_FertilityAddedByStorms FAutoVariable<int, GameCore::Player::Stats>
0xd78 m_TilesDamagedByStorms FAutoVariable<int, GameCore::Player::Stats>
0xd90 m_PopulationLostByStorms FAutoVariable<int, GameCore::Player::Stats>
0xda8 m_UnitsKilledByStorms FAutoVariable<int, GameCore::Player::Stats>
0xdc0 m_FertilityAddedByVolcanos FAutoVariable<int, GameCore::Player::Stats>
0xdd8 m_TilesDamagedByVolcanos FAutoVariable<int, GameCore::Player::Stats>
0xdf0 m_PopulationLostByVolcanos FAutoVariable<int, GameCore::Player::Stats>
0xe08 m_UnitsKilledByVolcanos FAutoVariable<int, GameCore::Player::Stats>
0xe20 m_pPlayer const GameCore::Player::Instance*
0xe28 m_onCityTransferred Message::Handle
0xe38 m_OnRandomEventDamageEventHandle Message::Handle