qBool PostContent( ProtocolCallContext * pContext, const SubscriberPostContentParam & param, qUnsignedInt64 * contentId );
Name | Description | |
---|---|---|
in | pContext | Call information. |
in | param | Detailed information. |
out | contentId | The ID assigned to the content. This ID is unique on the game server. Content IDs are incremented each time content is posted. |
Value | Description |
---|---|
true | RMC call initialization succeeded. |
false | Failure. |
Posts content to a topic.
Posts a single piece of content to one or more topics.
The following results may be returned as a result of asynchronous operation. Pass errors to the Error/EULA applet. Errors must be removed during debugging.
QERROR(Subscriber, InvalidArgument)
: No topics have been specified. Invalid topic format. QERROR(Subscriber, OverLimit)
: The length of the message to post exceeds SubscriberConstants::MAX_CONTENT_MESSAGE_LEN
. The size of the binary data to post exceeds SubscriberConstants::MAX_CONTENT_BINARY_SIZE
. The reserved topic number exceeds SubscriberConstants::NUM_RESERVED_TOPICS
. The number of topics to which to post the content exceeds SubscriberConstants::MAX_POST_CONTENT_TOPIC_SIZE
.
CONFIDENTIAL