Home › Lua API › NotificationInstance

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

NotificationInstance

28 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
Activate NotificationInstance:Activate() (or nothing) gameplay — 0x6e5be0 0x6e6320
AutoExpires NotificationInstance:AutoExpires() → boolean gameplay — 0x6e5c50 0x6e6390
CanUserDismiss NotificationInstance:CanUserDismiss() → boolean gameplay — 0x6e5ca0 —
GetAddedTurn NotificationInstance:GetAddedTurn() → number gameplay — 0x6e5cf0 0x6e6430
GetCount NotificationInstance:GetCount() → number gameplay — 0x6e5d40 0x6e6480
GetEndTurnBlocking NotificationInstance:GetEndTurnBlocking() → number gameplay — 0x6e5d90 0x6e64d0
GetExpireTurn NotificationInstance:GetExpireTurn() → number gameplay — 0x6e5de0 0x6e6520
GetGroup NotificationInstance:GetGroup() → number gameplay — 0x6e5e30 0x6e6570
GetID NotificationInstance:GetID() → number gameplay — 0x6e5e80 0x6e65c0
GetIconName NotificationInstance:GetIconName() → string/nil/string (or nothing) gameplay — 0x6e5ed0 0x6e6610
GetLocation NotificationInstance:GetLocation() → number, number gameplay — 0x6e6030 0x6e6770
GetMessage NotificationInstance:GetMessage() → nil/string gameplay — 0x6e60a0 0x6e67e0
GetPlayerID NotificationInstance:GetPlayerID() → number
returns: Id of a player (the scripts name the result playerID / owner). (inferred)
gameplay — 0x6e6110 0x6e6850
GetSeverity NotificationInstance:GetSeverity() → number gameplay — 0x6e6160 0x6e68a0
GetSummary NotificationInstance:GetSummary() → nil/string gameplay — 0x6e61b0 0x6e68f0
GetTarget NotificationInstance:GetTarget() → number, number, number (or nothing) gameplay — 0x6e6220 0x6e6960
GetType NotificationInstance:GetType() → number gameplay — 0x6e62d0 0x6e6a10
GetTypeName NotificationInstance:GetTypeName() → nil/string (or nothing) gameplay — 0x6e6320 0x6e6a60
GetValue NotificationInstance:GetValue(arg1?: number) → 1 values (or nothing) ⚠ gameplay — 0x6e63b0 0x6e6af0
IsAutoNotify NotificationInstance:IsAutoNotify() → boolean gameplay — 0x6e64d0 0x6e6c10
IsDismissed NotificationInstance:IsDismissed() → boolean gameplay — 0x6e6520 0x6e6c60
IsExpired NotificationInstance:IsExpired() → boolean gameplay — 0x6e6570 —
IsIconDisplayable NotificationInstance:IsIconDisplayable() → boolean gameplay — 0x6e65c0 0x6e6d00
IsLocationValid NotificationInstance:IsLocationValid() → boolean gameplay — 0x6e6610 0x6e6d50
IsNeeded NotificationInstance:IsNeeded() → boolean gameplay — 0x6e6670 0x6e6db0
IsTargetValid NotificationInstance:IsTargetValid() → boolean gameplay — 0x6e66c0 0x6e6e00
IsValidForPhase NotificationInstance:IsValidForPhase() → boolean gameplay — 0x6e6720 0x6e6e60
IsVisibleInUI NotificationInstance:IsVisibleInUI() → boolean gameplay — 0x6e6770 0x6e6eb0