chatSetChannelLimit
Set the maximum number of users allowed in a channel.
- void chatSetChannelLimit(
- CHAT chat,
- const gsi_char * channel,
- int limit );
Routine | Required Header | Distribution |
---|---|---|
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
Routine | GSI_UNICODE Not Defined | GSI_UNICODE Defined |
---|---|---|
chatSetChannelLimit | chatSetChannelLimitA | chatSetChannelLimitW |
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