Home › Class layouts › Definition › Definition::Happiness
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::Happiness
GameCore::Definition::Happiness — class, size 80 bytes (0x50).
Bases: Definition::IProperties at 0x0
| Linux offset |
Member |
Type |
0x10 |
m_DatabaseRowId |
int32 |
0x14 |
m_CollectionIndex |
uint32 |
0x18 |
m_HappinessTypeHash |
uint32 |
0x1c |
m_RebellionPoints |
int32 |
0x20 |
m_MaximumAmenityScore |
Optional<int> |
0x28 |
m_MinimumAmenityScore |
Optional<int> |
0x30 |
m_GrowthModifier |
Optional<float> |
0x38 |
m_NonFoodYieldModifier |
Optional<float> |
0x40 |
m_HappinessType |
Basic |
0x48 |
m_Name |
Basic |