Events
Provides tools for subscribing to certain events for the World and GameServer.
To get the Events class, you must get its handler.
let Events = instance.GetHandler("Events")
You can then use the Events property to access the Events class.
Methods
| Method Name | Return Type | Parameters | Description |
|---|---|---|---|
| Subscribe | void | ScriptEvent, function¹ | Subscribes a SandboxFunc to a ScriptEvent |
¹ Has multiple callback parameters