chatSetChannelLimit

GameSpy SDK

chatSetChannelLimit

Set the maximum number of users allowed in a channel.

void chatSetChannelLimit(
CHAT chat,
const gsi_char * channel,
int limit );
RoutineRequired HeaderDistribution
chatSetChannelLimit<chat.h>SDKZIP

Parameters

chat
[in] Chat SDK object, previously initialized using one of the chatConnect methods.
channel
[in] Name of the chat channel whose limit is being set.
limit
[in] Maximum number of users on channel.

Remarks

The chatSetChannelLimit function may be used to set the maximum number of users on a chat room.

Unicode Mappings

RoutineGSI_UNICODE Not DefinedGSI_UNICODE Defined
chatSetChannelLimitchatSetChannelLimitAchatSetChannelLimitW

chatSetChannelLimitW and chatSetChannelLimitA are UNICODE and ANSI mapped versions of chatSetChannelLimit. The arguments of chatSetChannelLimitA are ANSI strings; those of chatSetChannelLimitW are wide-character strings.

Section Reference: Gamespy Chat SDK