Home › Class layouts › Definition › Definition::UnitPromotion
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::UnitPromotion
GameCore::Definition::UnitPromotion — class, size 128 bytes (0x80).
Bases: Definition::IProperties at 0x0
| Linux offset |
Member |
Type |
0x10 |
m_DatabaseRowId |
int32 |
0x14 |
m_CollectionIndex |
uint32 |
0x18 |
m_UnitPromotionTypeHash |
uint32 |
0x1c |
m_PromotionClassHash |
uint32 |
0x20 |
m_Column |
int32 |
0x24 |
m_Level |
int32 |
0x28 |
m_UnitPromotionType |
Basic |
0x30 |
m_PromotionClass |
Optional<String::BasicT<String::BasicStringAlloc, ASCII> > |
0x40 |
m_Specialization |
Optional<String::BasicT<String::BasicStringAlloc, ASCII> > |
0x50 |
m_Description |
Basic |
0x58 |
m_Name |
Basic |
0x60 |
m_PrereqUnitPromotionCollection |
UnitPromotionPrereqReferenceCollection |
0x78 |
m_PromotionClassReference |
const GameCore::Definition::UnitPromotionClass* |