chatGetUserModeNoWait

GameSpy SDK

chatGetUserModeNoWait

Get the mode of a user in a specified channel, returning it through a function parameter.

CHATBool chatGetUserModeNoWait(
CHAT chat,
const gsi_char * channel,
const gsi_char * user,
int * mode );
RoutineRequired HeaderDistribution
chatGetUserModeNoWait<chat.h>SDKZIP

Return Value

Parameters

chat
[in] Chat SDK object, previously initialized using one of the chatConnect methods.
channel
[in] Name of the chat channel being inspected.
user
[in] User's chat nickname on that channel.
mode
[out] Receives the mode of target user.

Remarks

The chatGetUserModeNoWait function may be used to check a user's "mode" in a specified chat channel.  A mode may specify a channel operator.

Section Reference: Gamespy Chat SDK

See Also: chatGetUserMode