Home › Class layouts › Definition › Definition::TurnSegment
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::TurnSegment
GameCore::Definition::TurnSegment — class, size 88 bytes (0x58).
Bases: Definition::IProperties at 0x0
| Linux offset |
Member |
Type |
0x10 |
m_DatabaseRowId |
int32 |
0x14 |
m_CollectionIndex |
uint32 |
0x18 |
m_TurnSegmentTypeHash |
uint32 |
0x1c |
m_TimeLimit_Base |
int32 |
0x20 |
m_TimeLimit_PerCity |
int32 |
0x24 |
m_TimeLimit_PerUnit |
int32 |
0x28 |
m_TurnSegmentType |
Basic |
0x30 |
m_Name |
Optional<String::BasicT<String::BasicStringAlloc, ASCII> > |
0x40 |
m_Sound |
Optional<String::BasicT<String::BasicStringAlloc, ASCII> > |
0x50 |
m_AllowStrategicCommands (bit-field, 1 bits) |
bool |
0x50 |
m_AllowTacticalCommands (bit-field, 1 bits) |
bool |
0x50 |
m_AllowTurnUnready (bit-field, 1 bits) |
bool |
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 |
\~TurnSegment |
0x7b2210 |