AW EVENT UNIVERSE DISCONNECT

From ActiveWiki
Revision as of 12:38, 1 November 2008 by Macavity (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Minimum requirements
Added in version 3.5
SDKbuild 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);

See also