![]() |
FrameworkZ 10.8.3
Provides a framework for Project Zomboid with various systems.
|
Notifications module for FrameworkZ. Queues and sends notifications. More...
Public Member Functions | |
| object | AddToQueue (message, notificationType, duration, ui) |
| Adds a notification to the queue. | |
| void | OnGameStart () |
| void | PlayerTick (isoPlayer) |
| void | ProcessQueue (isProcessingContinued) |
Notifications module for FrameworkZ. Queues and sends notifications.
Definition at line 5 of file Notifications.lua.
Adds a notification to the queue.
| message | string The message to display. |
| notificationType | string The type of notification to display. See notification types. |
| duration | integer The duration the notification should be displayed for. |
| ui | object The UI object that would cover where notifications display. Useful if you want to display notifications over top of a specific UI object. |
| void OnGameStart | ( | ) |
| void ProcessQueue | ( | isProcessingContinued | ) |
| FrameworkZ Notifications __index |
Definition at line 7 of file Notifications.lua.
| FrameworkZ Notifications Colors |
Definition at line 25 of file Notifications.lua.
| FrameworkZ::Notifications::Danger |
Definition at line 23 of file Notifications.lua.
| FrameworkZ::Notifications::Default |
Definition at line 15 of file Notifications.lua.
| FrameworkZ::Notifications::Info |
Definition at line 17 of file Notifications.lua.
| FrameworkZ Notifications List |
Definition at line 11 of file Notifications.lua.
Definition at line 37 of file Notifications.lua.
| FrameworkZ Notifications Queue |
Definition at line 9 of file Notifications.lua.
| FrameworkZ::Notifications::Success |
Definition at line 19 of file Notifications.lua.
| FrameworkZ Notifications Types |
Definition at line 13 of file Notifications.lua.
| FrameworkZ::Notifications::Warning |
Definition at line 21 of file Notifications.lua.