Home › Class layouts › Definition › Definition::WMD

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::WMD

GameCore::Definition::WMD — class, size 72 bytes (0x48).

Bases: Definition::IProperties at 0x0

Linux offset Member Type
0x10 m_DatabaseRowId int32
0x14 m_CollectionIndex uint32
0x18 m_WeaponTypeHash uint32
0x1c m_BlastRadius int32
0x20 m_FalloutDuration int32
0x24 m_ICBMStrikeRange int32
0x28 m_Maintenance int32
0x30 m_Name Basic
0x38 m_WeaponType Basic
0x40 m_AffectBuildings (bit-field, 1 bits) bool
0x40 m_AffectImprovements (bit-field, 1 bits) bool
0x40 m_AffectPopulation (bit-field, 1 bits) bool
0x40 m_AffectResources (bit-field, 1 bits) bool
0x40 m_AffectRoutes (bit-field, 1 bits) bool
0x40 m_AffectUnits (bit-field, 1 bits) bool

Virtual functions

Slot order of the class's own vtable (inferred, see Virtual function tables). A virtual call call [vptr+offset] uses the byte offset. Owner is shown when the entry is inherited or overridden elsewhere.

Slot Offset Method Address in current build
0 0x0 \~WMD 0x7b2670