API:RegisterEventHandler

Aus WARWiki

Registers a function to serve as a handler for the specified event.

Nutzung

RegisterEventHandler([window, ]event, handler)


Arguments

* window (string)

  • (optional) The name of the window the event is being registered for. Specifying this acts as a shortcut to WindowRegisterEventHandler()
  • handler (string)
    The name of the function to serve as the handler. Should be the full context (including any dot notation).


Diese Funktion gibt keine Werte zurück.



Persönliche Werkzeuge
Anzeige

Sponsoren