Home › Class layouts › WorldBuilder › WorldBuilder::Player::CommandSetLeader

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

WorldBuilder::Player::CommandSetLeader

GameCore::WorldBuilder::Player::CommandSetLeader — class, size 24 bytes (0x18).

Bases: WorldBuilder::Player::BaseCommand at 0x0

Linux offset Member Type
0xc m_eLeader LeaderTypes
0x10 m_eCiv CivilizationTypes
0x14 m_eCivLevel CivilizationLevelTypes

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 \~CommandSetLeader 0x61d030
1 0x8 GetType 0x6175b0
2 0x10 GetName 0x617520
3 0x18 CanUndo 0x6171d0
4 0x20 Undo 0x618aa0
5 0x28 CanRedo 0x6171d0
6 0x30 Redo 0x617ca0
7 0x38 IsValid (WorldBuilder::Command::Instance) 0x9b1040