qr2_clientmessagecallback_t

GameSpy SDK

qr2_clientmessagecallback_t

This callback is set via qr2_register_clientmessage_callback; called when a client message is received.

typedef void (*qr2_clientmessagecallback_t)(
gsi_char * data,
int len,
void * userdata );
RoutineRequired HeaderDistribution
qr2_clientmessagecallback_t<qr2.h>SDKZIP

Parameters

data
[in] The buffer containing the message
len
[in] The length of the data buffer
userdata
[in] The userdata that was passed into qr2_init.