chatSetChannelGroup

GameSpy SDK

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 );
RoutineRequired HeaderDistribution
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

RoutineGSI_UNICODE Not DefinedGSI_UNICODE Defined
chatSetChannelGroupchatSetChannelGroupAchatSetChannelGroupW

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