ENetEvent

An ENet event as returned by enet_host_service().

Members

Variables

channelID
enet_uint8 channelID;

< channel on the peer that generated the event, if appropriate

data
enet_uint32 data;

< data associated with the event, if appropriate

packet
ENetPacket* packet;

< packet associated with the event, if appropriate

peer
ENetPeer* peer;

< peer that generated a connect, disconnect or receive event

type
ENetEventType type;

< type of the event

Meta