Home › Class layouts › Definition › Definition::Improvement_ValidResource
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::Improvement_ValidResource
GameCore::Definition::Improvement_ValidResource — class, size 64 bytes (0x40).
Bases: Definition::IProperties at 0x0
| Linux offset |
Member |
Type |
0x10 |
m_DatabaseRowId |
int32 |
0x14 |
m_CollectionIndex |
uint32 |
0x18 |
m_ImprovementType |
Basic |
0x20 |
m_ResourceType |
Basic |
0x28 |
m_MustRemoveFeature (bit-field, 1 bits) |
bool |
0x30 |
m_ImprovementReference |
const GameCore::Definition::Improvement* |
0x38 |
m_ResourceReference |
const GameCore::Definition::Resource* |
Virtual functions
Slot order of the class's own vtable (inferred, see Virtual function tables). A virtual call call [vptr+offset] uses the byte offset. Owner is shown when the entry is inherited or overridden elsewhere.
| Slot |
Offset |
Method |
Address in current build |
| 0 |
0x0 |
\~Improvement_ValidResource |
0x7b1fa0 |