qr2_keylistcallback_t

GameSpy SDK

qr2_keylistcallback_t

One of the callbacks provided to qr2_init; called when the SDK needs to determine all of the keys you game has values for.

typedef void (*qr2_keylistcallback_t)(
qr2_key_type keytype,
qr2_keybuffer_t keybuffer,
void * userdata );
RoutineRequired HeaderDistribution
qr2_keylistcallback_t<qr2.h>SDKZIP

Parameters

keytype
[in] The type of keys being requested (server, player, team). You should only add keys of this type to the keybuffer.
keybuffer
[in] The structure that holds the list of keys. Use qr2_keybuffer_add to add a key to the buffer.
userdata
[in] The same userdata that was passed into qr2_init.