Home › Class layouts › Unit › Unit::InitializationParameters
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).
Unit::InitializationParameters
GameCore::Unit::InitializationParameters — structure, size 32 bytes (0x20).
| Linux offset |
Member |
Type |
0x0 |
m_eTemplate |
Unit::TemplateType |
0x4 |
m_eUnitTypeHash |
uint |
0x8 |
m_uiID |
IDType |
0xc |
m_uiFormationID |
uint |
0x10 |
m_CityID |
Player::CityID |
0x18 |
m_bDoNotName |
bool |
0x19 |
m_StartsLevied |
bool |