Home › Class layouts › City › City::Commands::Purchase::ClassParameters

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

City::Commands::Purchase::ClassParameters

GameCore::City::Commands::Purchase::ClassParameters — structure, size 40 bytes (0x28).

Bases: SharedParameters::Location0 at 0xc, SharedParameters::Instance at 0x0

Linux offset Member Type
0x14 eDirective uint
0x1c eMilitaryFormationType MilitaryFormationTypes
0x20 eYieldType YieldTypes

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 \~ClassParameters 0x71bde0
1 0x8 Read 0x680d30
3 0x18 Write 0x3fa120
4 0x20 Write (SharedParameters::Instance) 0x681460
5 0x28 toString 0x681540