Home › Lua API › CongressManager

Available out of the box. Usable from Lua in the unmodified game.

CongressManager

9 methods. Symbol/current columns are function addresses (RVA) of the native wrapper.

Community reference for this object: CongressManager (Sukrit Tan, external).

Signatures are recovered from the game code. ⚠ = partly understood (arguments may be missing or approximate). ? after a name = optional argument. Types: integer/number are Lua numbers, enum-typed arguments show the C++ type in brackets. Two signatures mean the method is registered separately for the UI and the gameplay state and each wrapper was decoded on its own. "same code as" in the Symbol column means the compiler merged identical functions: those methods share one wrapper and cannot be told apart by address.

Method Signature Where Reference Symbol Current
GetEmergencies CongressManager:GetEmergencies(arg1?: number) → number (or nothing)
args: arg1 — Id of a player.
ui-cache yes ↗ 0xa8bf0 0xa9680
GetMeetingStatus CongressManager:GetMeetingStatus() → string (or nothing) ui-cache yes ↗ 0xa97a0 0xaa230
GetPreviousVotesOnResolution CongressManager:GetPreviousVotesOnResolution(arg1?: number) (or nothing) ui-cache yes ↗ 0xa9950 0xaa3e0
GetProposals CongressManager:GetProposals(arg1?: number) → number (or nothing)
args: arg1 — Id of a player.
ui-cache yes ↗ 0xaa4b0 0xaaf40
GetResolutions CongressManager:GetResolutions(arg1?: number) (or nothing)
args: arg1 — Id of a player (the scripts name the argument playerID / owner). (inferred)
ui-cache yes ↗ 0xabb20 0xac5b0
GetReview CongressManager:GetReview(arg1?: number) (or nothing)
args: arg1 — Id of a player (the scripts name the argument playerID / owner). (inferred)
ui-cache yes ↗ 0xacb80 0xad610
GetTurnsUntilSpecialSessionAllowed CongressManager:GetTurnsUntilSpecialSessionAllowed() → number (or nothing) ui-cache yes ↗ 0xae440 0xaeed0
GetVotesandFavorCost CongressManager:GetVotesandFavorCost(arg1?: number)
args: arg1 — Id of a player (the scripts name the argument playerID / owner). (inferred)
ui-cache yes ↗ 0xae4a0 0xaef30
IsInSession CongressManager:IsInSession() → boolean (or nothing) ui-cache yes ↗ 0xae6c0 0xaf150