AW EVENT UNIVERSE DISCONNECT
Jump to navigation
Jump to search
Minimum requirements | ||
---|---|---|
Added in version 3.5 | ||
SDK | build 37 |
AW_EVENT_UNIVERSE_DISCONNECT
Description
Connection to the universe has been severed.
Notes
This event indicates that the connection to the universe server has been severed.
Attributes
- AW_DISCONNECT_REASON
- Contains a reason code indicating the reason for the disconnection.
Usage
void handle_universe_disconnect (void) { printf ("Universe disconnected [%d]\n", aw_int (AW_DISCONNECT_REASON)); } aw_event_set (AW_EVENT_UNIVERSE_DISCONNECT, handle_universe_disconnect);