chatSendRaw

GameSpy SDK

chatSendRaw

Send a raw command to the chat server.  This does not automatically send to a player.

void chatSendRaw(
CHAT chat,
const gsi_char * command );
RoutineRequired HeaderDistribution
chatSendRaw<chat.h>SDKZIP

Parameters

chat
[in] Chat SDK object, previously initialized using one of the chatConnect methods.
command
[in] Raw command to send to the chat server.

Remarks

The chatSendRaw function may be used to send a raw command to the server.  Special care should be taken when using this command, as undesired behavior may result from malformed command sequences.  If in doubt, please contact developer support on the use of this command.

Unicode Mappings

RoutineGSI_UNICODE Not DefinedGSI_UNICODE Defined
chatSendRawchatSendRawAchatSendRawW

chatSendRawW and chatSendRawA are UNICODE and ANSI mapped versions of chatSendRaw. The arguments of chatSendRawA are ANSI strings; those of chatSendRawW are wide-character strings.

Section Reference: Gamespy Chat SDK