System
Event
How to use system events
Events are a useful feature that can be used for Cardinal to notify the game client of a certain event or information.
EmitEvent
The EmitEvent
method on cardinal.WorldContext
will emit events to all clients under the subject “event”.
To see how to receive notifications go here: https://heroiclabs.com/docs/nakama/concepts/notifications/#receive-notifications (Unity)
Parameter | Type | Description |
---|---|---|
event | string | The string to emit as an event |