Vendetta/API/notify

From Quasar-RCE
Jump to navigationJump to search

Definition

lib.notify (notification_status, ...) :: nil

Description

Sends a notification to Neoloader's active notification manager

Arguments

  1. string notification_status: the status to be communicated
  2. ...: any additional values relevant to the communication

Returns

  1. nil

Other notes

  • Added in LME 3.0.x
  • The behavior of the notification system is dependent on the activated manager; for the bundled neomgr, only a few statuses are expected, and the rest use placeholder alert elements. Custom handlers should be provided for notification types other than the default expected set. (TODO: neomgr, neonotif, and programming with)
  • This feature is meant to be used for communicating to the user through a unified method; for internal use, Vendetta Online's existing event management system works perfectly fine.