-
Notifications
You must be signed in to change notification settings - Fork 20
event
Stjepan Bakrac edited this page Apr 28, 2020
·
3 revisions
This library provides an implementation of an event mechanism. It allows registering functions to execute on certain events, and triggering those events, both within an addon and from a service to an addon and even between addons.
local event = require('event')
✔️ Dependency Not Required
This library does not require an explicit dependency in the
manifest.xml
file for your package.
The event
table has the following entries:
- event.new : Create a new event
Creates a new event object, which can then be used to trigger the event, and which can be sent to other instances so they can register functions to execute when triggered.
function event.new() : event_object
event_object event_object
The event object associated with the specified name. Can be used to register functions to specific commands.
- Background and Architecture
- Windower Data Locations
- Code Standards and Guidelines
- Addon Development
- Windower Commands
- Packet Tutorial
- burdometer
- config
- delay_me_not
- distance
- dress_up
- enternity
- fps
- ime
- logger
- party_time
- paste
- pouches
- send
- shortcuts
- speedometer
- target_info
- terminate
- timestamp
- window_title
- Game
- Windower
- General