Home › Class layouts › Player › Player::DistrictAndBuildingsCreateUnitWithAbilityByClass
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).
Player::DistrictAndBuildingsCreateUnitWithAbilityByClass
GameCore::Player::DistrictAndBuildingsCreateUnitWithAbilityByClass — structure, size 12 bytes (0xc).
| Linux offset |
Member |
Type |
0x0 |
m_eAbility |
UnitAbilityTypes |
0x4 |
m_eDistrict |
DistrictTypes |
0x8 |
m_ePromotionClass |
UnitPromotionClassTypes |