chatChannelMessage

GameSpy SDK

chatChannelMessage

Used in conjunction with chatEnterChannel; called when a message is received in the channel.

typedef void (*chatChannelMessage)(
CHAT chat,
const gsi_char * channel,
const gsi_char * user,
const gsi_char * message,
int type,
void * param );
RoutineRequired HeaderDistribution
chatChannelMessage<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 sent the message.
message
[in] The text of the message.
type
[in] The type of the message: one of the pre-defined chat types.
param
[in] Pointer to user data. The same param that was passed to chatEnterChannel through the callbacks structure.