chatSetChannelMode
Set a channel’s mode.
- void chatSetChannelMode(
- CHAT chat,
- const gsi_char * channel,
- CHATChannelMode * mode );
Routine | Required Header | Distribution |
---|---|---|
chatSetChannelMode | <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 mode is being set.
- mode
- [in] Properties to set on the target channel.
Remarks
The mode includes standard IRC properties such as "InviteOnly, Private and Moderated".
Unicode Mappings
Routine | GSI_UNICODE Not Defined | GSI_UNICODE Defined |
---|---|---|
chatSetChannelMode | chatSetChannelModeA | chatSetChannelModeW |
chatSetChannelModeW and chatSetChannelModeA are UNICODE and ANSI mapped versions of chatSetChannelMode. The arguments of chatSetChannelModeA are ANSI strings; those of chatSetChannelModeW are wide-character strings.
Section Reference: Gamespy Chat SDK
See Also: CHATChannelMode, chatGetChannelMode