chatPrivateMessage

GameSpy SDK

chatPrivateMessage

Used in conjunction with the chatConnect functions; called when a message is received from another user.

typedef void (*chatPrivateMessage)(
CHAT chat,
const gsi_char * user,
const gsi_char * message,
int type,
void * param );
RoutineRequired HeaderDistribution
chatPrivateMessage<chat.h>SDKZIP

Parameters

chat
[in] The initialized chat interface object.
user
[in] The user who sent the message.
message
[in] The text of the message.
type
[in] The type of message.
param
[in] Pointer to user data. The same param that was passed to chatConnect through the callback structure.

Remarks

If user is NULL, this is a message from the server.

Section Reference: Gamespy Chat SDK

See Also: chatConnect