mapper.register_event()
mapper.register_event(name)
This function registers an event.
Parameters
| Parameter | Type | Description |
|---|---|---|
name | string | Specifies the name to assign to the event. The name is used for display in the message console. It doesn't need to be unique among registered events. |
Return Values
This function returns a numeric value representing the event ID.