Home › Class layouts › Definition › Definition::RandomEvent_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::RandomEvent_Yield
GameCore::Definition::RandomEvent_Yield — class, size 88 bytes (0x58).
Bases: Definition::IProperties at 0x0
| Linux offset |
Member |
Type |
0x10 |
m_DatabaseRowId |
int32 |
0x14 |
m_CollectionIndex |
uint32 |
0x18 |
m_FeatureTypeHash |
uint32 |
0x1c |
m_RandomEventTypeHash |
uint32 |
0x20 |
m_YieldTypeHash |
uint32 |
0x24 |
m_Amount |
int32 |
0x28 |
m_Percentage |
int32 |
0x2c |
m_Turn |
Optional<int> |
0x38 |
m_FeatureType |
Basic |
0x40 |
m_RandomEventType |
Basic |
0x48 |
m_YieldType |
Basic |
0x50 |
m_ReplaceFeature (bit-field, 1 bits) |
bool |