Query and Reporting 2 SDK Functions
qr2_buffer_add | Add a string or integer to the qr2 buffer. This is used when responding to a qr2 query callback. |
qr2_buffer_add_int | Add a string or integer to the qr2 buffer. This is used when responding to a qr2 query callback. |
qr2_init | Initialize the Query and Reporting 2 SDK. |
qr2_init_socket | Initialize the Query and Reporting 2 SDK. Allows control over the qr2 socket object. |
qr2_internal_key_list_free | Frees the internal key list that is constructed when in GSI_UNICODE mode. |
qr2_keybuffer_add | Add a key identifier to the qr2_keybuffer_t. This is used when enumerating the supported list of keys. |
qr2_parse_query | When using the shared socket method with qr2_init_socket, use this function to pass qr2 messages to the qr2 sdk. |
qr2_register_clientconnected_callback | Sets the function that will be triggered when a client has connected. |
qr2_register_clientmessage_callback | Sets the function that will be triggered when a client message is received. |
qr2_register_key | Register a key with the qr2 sdk. This tells the sdk that the application will report values for this key. |
qr2_register_natneg_callback | Sets the function that will be triggered when a nat negotiation request is received. |
qr2_register_publicaddress_callback | Sets the function that will be triggered when the local clients public address is received. |
qr2_send_statechanged | Notify the GameSpy master server of a change in gamestate. |
qr2_shutdown | Frees memory allocated by the qr2 sdk. This includes freeing user registered keys. |
qr2_think | Allow the qr2 sdk to continue processing. Server queries can only be processed during this call. |