VP_EVENT_WORLD_DISCONNECT

From Virtual Paradise Wiki
Jump to navigation Jump to search
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

Attribute Usage
VP_DISCONNECT_ERROR_CODE Operating system's disconnect error code

Behavior

Examples

This event has no usage examples; please add at least one to this page