Home › Class layouts › Unit › Unit::Hero
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::Hero
GameCore::Unit::Hero — class, size 24 bytes (0x18).
| Linux offset |
Member |
Type |
Lua methods (inferred) |
0x0 |
m_pUnit |
ParentPtr<GameCore::Unit::Instance> |
|
0x8 |
m_eClass |
HeroClassTypes |
reads: Unit:GetOperationParameter |
0x10 |
m_kOriginCityID |
Player::CityID |
|