Home › Class layouts › AI › AI::UnitInfo

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).

AI::UnitInfo

GameCore::AI::UnitInfo — structure, size 32 bytes (0x20).

Linux offset Member Type
0x0 UnitId IDType
0x4 KnownDamage int
0x8 MilitaryFormation MilitaryFormationTypes
0xc TurnsSinceObservation uint
0x10 Location PlotCoord
0x18 AreaId IDType
0x1c RegionId IDType