chatSetGlobalKeys

GameSpy SDK

chatSetGlobalKeys

Set key/values on the local client. .

void chatSetGlobalKeys(
CHAT chat,
int num,
const gsi_char ** keys,
const gsi_char ** values );
RoutineRequired HeaderDistribution
chatSetGlobalKeys<chat.h>SDKZIP

Parameters

chat
[in] Chat SDK object, previously initialized using one of the chatConnect methods.
num
[in] Number of key/value pairs being set.
keys
[in] Array of keys being set.
values
[in] Array of values being set, in the same order as their keys.

Remarks

Set the value to NULL or "" to clear the value.

Unicode Mappings

RoutineGSI_UNICODE Not DefinedGSI_UNICODE Defined
chatSetGlobalKeyschatSetGlobalKeysAchatSetGlobalKeysW

chatSetGlobalKeysW and chatSetGlobalKeysA are UNICODE and ANSI mapped versions of chatSetGlobalKeys. The arguments of chatSetGlobalKeysA are ANSI strings; those of chatSetGlobalKeysW are wide-character strings.

Section Reference: Gamespy Chat SDK