ScummVM API documentation
_ENetEvent Struct Reference

#include <enet.h>

Public Attributes

ENetEventType type
 
ENetPeerpeer
 
enet_uint8 channelID
 
enet_uint32 data
 
ENetPacketpacket
 

Detailed Description

An ENet event as returned by enet_host_service().

See also
enet_host_service

Member Data Documentation

◆ type

ENetEventType _ENetEvent::type

type of the event

◆ peer

ENetPeer* _ENetEvent::peer

peer that generated a connect, disconnect or receive event

◆ channelID

enet_uint8 _ENetEvent::channelID

channel on the peer that generated the event, if appropriate

◆ data

enet_uint32 _ENetEvent::data

data associated with the event, if appropriate

◆ packet

ENetPacket* _ENetEvent::packet

packet associated with the event, if appropriate


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