chatSetChannelGroup
Assign a user-defined grouping to a channel. The group is a string identifier which is linked to the channel.
- void chatSetChannelGroup(
- CHAT chat,
- const gsi_char * channel,
- const gsi_char * group );
Routine | Required Header | Distribution |
---|---|---|
chatSetChannelGroup | <chat.h> | SDKZIP |
Parameters
- chat
- [in] Chat SDK object, previously initialized using one of the chatConnect methods.
- channel
- [in] Name of the chat channel to which a group is being assigned.
- group
- [in] Group string to assign to channel.
Remarks
The chatSetChannelGroup function may be used to attach a user-defined string to a channel. This string exists locally and is not sent across the network. This string may be used as a local grouping for channels.
Unicode Mappings
Routine | GSI_UNICODE Not Defined | GSI_UNICODE Defined |
---|---|---|
chatSetChannelGroup | chatSetChannelGroupA | chatSetChannelGroupW |
chatSetChannelGroupW and chatSetChannelGroupA are UNICODE and ANSI mapped versions of chatSetChannelGroup. The arguments of chatSetChannelGroupA are ANSI strings; those of chatSetChannelGroupW are wide-character strings.
Section Reference: Gamespy Chat SDK