![]() |
Lysa
0.0
Lysa 3D Engine
|
FIFO event dispatcher filtered by target id.
Inherits from: EventManager
Lua full name: lysa.QueuedEvent
Public Member Functions | |
| nil | push (e: Event) |
| Queues a copy for the next processing pass. More... | |
| integer | subscribe (type: string, cb: function) |
| Subscribes to queued events without a target (INVALID_ID). More... | |
| integer | subscribe (type: string, id: integer, cb: function) |
| Subscribes to one target id. More... | |
| integer | subscribe (type: string, ids: integer[], cb: function) |
| Subscribes to multiple targets with one handler id. More... | |
|
Subscribes to queued events without a target (INVALID_ID).
| type | string |
| cb | function |
|
Subscribes to one target id.
| type | string |
| id | integer |
| cb | function |
|
Subscribes to multiple targets with one handler id.
| type | string |
| ids | integer[] |
| cb | function |