API RegisterEvent
From Vendetta Lua
Jump to navigationJump to search
RegisterEvent
Definition:
RegisterEvent(object eventhandler, string eventtype) -> nil
Description:
Hook up object to event. The object is a function or a table with a method called OnEvent or the name of the event. See Event Intro
Arguments:
eventhandler object or function to register with event
eventtype eventtype
Example:
see Event Intro