Cuxial Gang App exposes one client export and no public events. Its data comes from Cuxial Gang, so anything about organizations, zones or mules is read from Cuxial Gang, not from here.
Client exports
SendAppMessage
Sends a message to the app interface while it is open on the phone.
lua
exports.cuxial_gang_app:SendAppMessage(action, data)| Parameter | Type | Description |
|---|---|---|
action | string | Name of the message. |
data | any | Payload delivered with it. |
Returns: nothing.
Actions the app answers to:
| Action | Data | What it does |
|---|---|---|
roleChanged | {} | The app asks for the player's role again and redraws the home screen. Use it after changing a player's organization or job from your own resource. |
lua
exports.cuxial_gang_app:SendAppMessage('roleChanged', {})Events
There are no events meant for other resources. The kokka:* events and callbacks are internal and can change between versions.
