qBool SendChat( ProtocolCallContext * pContext, GatheringID gid, const UserMessageDataHolder & oUserMessage );
Name | Description | |
---|---|---|
in | pContext | Call information. |
in | Gid | Gathering ID of recipient. |
in | oUserMessage | Message data. |
Value | Description |
---|---|
true |
Call initialization succeeded. |
false |
Failure. |
Sends an instant message to all participants in a gathering.
Using reliable communication, instant messages are sent to all participants in the specified gathering by using the game server. The asynchronous process returns success when the instant message reaches the game server. For this reason, it is not known if the message has arrived at the recipient from the results of the asynchronous results. Messages that reach the game server are guaranteed to reach the recipient as long as the recipient is not disconnected from the game server.
When using this function on a persistent gathering, the maximum number of participants for that persistent gathering must be set to be no more than PERSISTENT_GATHERING_CHAT_PARTICIPANTS_MAX
.
CONFIDENTIAL