[][src]Constant enet_sys::_ENetEventType_ENET_EVENT_TYPE_DISCONNECT

pub const _ENetEventType_ENET_EVENT_TYPE_DISCONNECT: _ENetEventType

a peer has disconnected. This event is generated on a successful completion of a disconnect initiated by enet_pper_disconnect, if a peer has timed out, or if a connection request intialized by enet_host_connect has timed out. The peer field contains the peer which disconnected. The data field contains user supplied data describing the disconnection, or 0, if none is available.