RegisterEventCallback
functionimplementedavailable in: camelot
Registers a function to be called when the event fires. Restricted events cannot be registered from tainted code. · description by wowlua
function RegisterEventCallback( eventName: string, callback: EventCallbackType)Parameters
| name | type | description |
|---|---|---|
eventName | string | See Townlong Yak for a list of events that can be registered. |
callback | EventCallbackType |
In wowlua's emulated client
implementedwowlua models the system behind it. what the statuses mean
Restrictions
- It can't be hooked with hooksecurefunc.
sources
Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (FrameScript system, camelot 1.60.1). Description: written by wowlua where no documentation describes the entry. Parameter and result notes: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.