Home › Class layouts › Definition › Definition::Resource_Consumption
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::Resource_Consumption
GameCore::Definition::Resource_Consumption — class, size 96 bytes (0x60).
Bases: Definition::IProperties at 0x0
| Linux offset |
Member |
Type |
0x10 |
m_DatabaseRowId |
int32 |
0x14 |
m_CollectionIndex |
uint32 |
0x18 |
m_ResourceTypeHash |
uint32 |
0x1c |
m_BaseExtractionRate |
int32 |
0x20 |
m_CO2perkWh |
int32 |
0x24 |
m_ImprovedExtractionRate |
int32 |
0x28 |
m_PowerProvided |
int32 |
0x2c |
m_StockpileCap |
int32 |
0x30 |
m_ResourceType |
Basic |
0x38 |
m_ObsoleteTech |
Optional<String::BasicT<String::BasicStringAlloc, ASCII> > |
0x48 |
m_Accumulate (bit-field, 1 bits) |
bool |
0x50 |
m_ResourceReference |
const GameCore::Definition::Resource* |
0x58 |
m_TechnologyReference |
const GameCore::Definition::Technology* |
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 |
\~Resource_Consumption |
0x7b1bc0 |