Home › Community Extension › PlayerGovernors

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

PlayerGovernors

6 functions. Signatures come from the CE wiki tables; the engine function and address from the CE source.

Function Signature Engine function Current address CE docs
ChangeNeutralizedIndefinitely PlayerGovernors:ChangeNeutralizedIndefinitely(amount: integer) Player::Governors::ChangeNeutralizedIndefinitely 0x2de310 wiki ↗
ChangeNeutralizedTurns PlayerGovernors:ChangeNeutralizedTurns(governorIndex: integer, neutralizedTurns: integer) — — wiki ↗
GetNeutralizedIndefinitely PlayerGovernors:GetNeutralizedIndefinitely() → integer — — wiki ↗
NeutralizeGovernor PlayerGovernors:NeutralizeGovernor(governorIndex: integer, neutralizedTurns: integer) Player::Governors::NeutralizeGovernor 0x2df270 wiki ↗
PromoteGovernor PlayerGovernors:PromoteGovernor(governorIndex: integer, governorPromotionIndex: integer) → boolean Player::Governors::PromoteGovernor 0x2df340 wiki ↗
UnassignGovernor PlayerGovernors:UnassignGovernor(governorIndex: integer, unknown1: boolean, unknown2: boolean) Player::Governors::UnassignGovernor 0x2df800 wiki ↗