Home › Class layouts › Definition › Definition::Yield

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

Definition::Yield

GameCore::Definition::Yield — class, size 160 bytes (0xa0).

Bases: Definition::IProperties at 0x0

Linux offset Member Type
0x10 m_DatabaseRowId int32
0x14 m_CollectionIndex uint32
0x18 m_YieldTypeHash uint32
0x1c m_DefaultValue float
0x20 m_OccupiedCityChange float
0x28 m_IconString Basic
0x30 m_Name Basic
0x38 m_YieldType Basic
0x40 m_FeatureChange_Refs Feature_YieldChangeReferenceCollection
0x58 m_ImprovementChange_Refs Improvement_BonusYieldChangeReferenceCollection
0x70 m_ResourceChange_Refs Resource_YieldChangeReferenceCollection
0x88 m_TerrainChange_Refs Terrain_YieldChangeReferenceCollection