Home › Lua API › NotificationManager

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

NotificationManager

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

Community reference for this object: NotificationManager (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
Dismiss NotificationManager:Dismiss(uiID?: number) → boolean gameplay yes ↗ 0x6e6fe0 0x6e7720
Find NotificationManager.Find(arg1?: number, arg2?: number) → NotificationInstance (or nothing)
args: arg1 — Id of a player (the scripts name the argument playerID / owner). (inferred)
gameplay yes ↗ 0x6e7110 0x6e7850
FindEndTurnBlocking NotificationManager.FindEndTurnBlocking(eBlockingType?: number, ePlayer?: number) → NotificationInstance (or nothing)
args: ePlayer — Id of a player. (inferred)
gameplay yes ↗ 0x6e71d0 0x6e7910
FindType NotificationManager.FindType(eType?: number, ePlayer?: number) → NotificationInstance (or nothing)
args: eType — A constant from the Lua table NotificationTypes.; ePlayer — Id of a player.
gameplay yes ↗ 0x6e7280 0x6e79c0
GetAllEndTurnBlocking NotificationManager.GetAllEndTurnBlocking(arg1?: number) → number[] (or nothing)
args: arg1 — Id of a player.
gameplay yes ↗ 0x6e7330 0x6e7a70
GetFirstEndTurnBlocking NotificationManager.GetFirstEndTurnBlocking(arg1: integer) → number
args: arg1 — Id of a player.
returns: A turn number (the scripts name the result turn). (inferred)
gameplay yes ↗ 0x6e7550 0x6e7c90
GetList NotificationManager.GetList(arg1?: number) → number[] (or nothing)
args: arg1 — Id of a player (the scripts name the argument playerID / owner). (inferred)
gameplay yes ↗ 0x6e75b0 0x6e7cf0
RestoreVisualState NotificationManager.RestoreVisualState(ePlayer?: number) (or nothing)
args: ePlayer — Id of a player.
gameplay yes ↗ 0x6e76f0 0x6e7e30
SendNotification NotificationManager.SendNotification(arg1?: any, arg2: number/string, arg3: table, arg4?: string, arg5?: integer, arg6?: integer) (or nothing) ⚠
args: arg1 — Id of a player (the scripts name the argument playerID / owner). (inferred); arg5 — Plot x coordinate (plot:GetX()).; arg6 — Plot y coordinate (plot:GetY()).
gameplay yes ↗ 0x6e7730 0x6e7e70