ENet  v1.3.13
Reliable UDP networking library
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Data Fields
ENetEvent Struct Reference

An ENet event as returned by enet_host_service(). More...

#include <enet.h>

Data Fields

enet_uint8 channelID
 channel on the peer that generated the event, if appropriate More...
 
enet_uint32 data
 data associated with the event, if appropriate More...
 
ENetPacketpacket
 packet associated with the event, if appropriate More...
 
ENetPeerpeer
 peer that generated a connect, disconnect or receive event More...
 
ENetEventType type
 type of the event More...
 

Detailed Description

An ENet event as returned by enet_host_service().

See also
enet_host_service

Field Documentation

enet_uint8 ENetEvent::channelID

channel on the peer that generated the event, if appropriate

enet_uint32 ENetEvent::data

data associated with the event, if appropriate

ENetPacket* ENetEvent::packet

packet associated with the event, if appropriate

ENetPeer* ENetEvent::peer

peer that generated a connect, disconnect or receive event

ENetEventType ENetEvent::type

type of the event


The documentation for this struct was generated from the following file: