Home › Lua API › EmergencyManager

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

EmergencyManager

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

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
GetEmergencyInfoTable EmergencyManager:GetEmergencyInfoTable(arg1?: number) → number (or nothing)
args: arg1 — Id of a player (the scripts name the argument playerID / owner). (inferred)
ui-cache — 0xa0460 0xa1000
GetNextBlockingEmergency EmergencyManager:GetNextBlockingEmergency(arg1?: number) → string (or nothing)
args: arg1 — Id of a player.
ui-cache — 0xa23f0 0xa2f90
GetSingleEmergency EmergencyManager:GetSingleEmergency(arg1?: number, arg2?: number) → number (or nothing) ui-cache — 0xa25d0 0xa3170