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 );
Routine | Required Header | Distribution |
---|---|---|
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.
Section Reference: Gamespy Query and Reporting 2 SDK
See Also: qr2_init, qr2_keybuffer_add