chatConnectCallback

GameSpy SDK

chatConnectCallback

Called when a chatConnect* attempt is made.

typedef void (*chatConnectCallback)(
CHAT chat,
CHATBool success,
int failureReason,
void * param );
RoutineRequired HeaderDistribution
chatConnectCallback<chat.h>SDKZIP

Parameters

chat
[in] The initialized chat interface object.
success
[in] CHATTrue if success, CHATFalse if failure.
failureReason
[in] The string giving reason for failure
param
[in] Pointer to user data. Passed through unmodified from the initiating function.

Remarks

The chatConnectCallback is called after an attempt of a call to one of the connect functions that the Chat SDK provides.

Section Reference: Gamespy Chat SDK