VP_EVENT_WORLD_DISCONNECT
Revision as of 23:02, 25 August 2013 by Roy Curtis (talk | contribs) (Created page with "{{sdk event page|world_disconnect|Fired when the SDK is unexpectedly disconnected from the world server. |attributes= |behavior= * Will not fire if the client intentionally di...")
Event set and handler snippet
vp_event_set(instance, VP_EVENT_WORLD_DISCONNECT, event_world_disconnect);
void event_world_disconnect(VPInstance instance) { }
Fired when the SDK is unexpectedly disconnected from the world server.
Attributes
- No attributes are used for this event
Behavior
- Will not fire if the client intentionally disconnects using
vp_leave()
orvp_destroy()
- Because the SDK maintains separate connections to the universe and world server, a
VP_EVENT_UNIVERSE_DISCONNECT
will not fire this event also
Examples
- This event has no usage examples; please add at least one to this page