chatBroadcastKeyChanged

GameSpy SDK

chatBroadcastKeyChanged

Called when a player changes a broadcast key in a channel the local player is in.

typedef void (*chatBroadcastKeyChanged)(
CHAT chat,
const gsi_char * channel,
const gsi_char * user,
const gsi_char * key,
const gsi_char * value,
void * param );
RoutineRequired HeaderDistribution
chatBroadcastKeyChanged<chat.h>SDKZIP

Parameters

chat
[in] The initialized chat interface object.
channel
[in] The channel the local player is in.
user
[in] The nickname of the user who changed the key
key
[in] The broadcast key that was changed
value
[in] The broadcast key value
param
[in] Pointer to user data. The same param that was passed to chatEnterChannel through the callbacks structure.

Remarks

The chatBroadcastKeyChanged function is called when another player changes a broadcast key in the channel the local player is in.

Unicode Mappings

RoutineGSI_UNICODE Not DefinedGSI_UNICODE Defined
chatBroadcastKeyChangedchatBroadcastKeyChangedAchatBroadcastKeyChangedW

chatBroadcastKeyChangedW and chatBroadcastKeyChangedA are UNICODE and ANSI mapped versions of chatBroadcastKeyChanged. The arguments of chatBroadcastKeyChangedA are ANSI strings; those of chatBroadcastKeyChangedW are wide-character strings.

Section Reference: Gamespy Chat SDK