From 8ff344897a5937b45820b42127b70e1938f97ed0 Mon Sep 17 00:00:00 2001 From: Lee Salzman Date: Sat, 19 Jan 2013 16:39:34 +0200 Subject: added userData field to ENetPacket --- include/enet/enet.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/enet/enet.h b/include/enet/enet.h index 55960ed..a691f5e 100644 --- a/include/enet/enet.h +++ b/include/enet/enet.h @@ -143,6 +143,7 @@ typedef struct _ENetPacket enet_uint8 * data; /**< allocated data for packet */ size_t dataLength; /**< length of data */ ENetPacketFreeCallback freeCallback; /**< function to be called when the packet is no longer in use */ + void * userData; /**< application private data, may be freely modified */ } ENetPacket; typedef struct _ENetAcknowledgement -- cgit v1.2.3