nn::nex::DataStoreClient::PostObject Member Function

Syntax

virtual qBool PostObject(
     ProtocolCallContext * pContext,
     const qVector< qUnsignedInt64 > & dataIds,
     const DataStorePreparePostParam & param,
     const qBool transactional = true,
     qVector< qResult > * pResults = NULL
);

Parameters

Name Description
in pContext Call information.
in dataIds Array of Data IDs assigned to uploaded data. The data ID are unique values within the game.
in param Detailed information.
in transactional Whether to process only if all will succeed (true), or to process as much as possible. The process is canceled for data for which the process will fail. (false).
out pResults Whether the results are successful. (Can be omitted.)

Return Values



Value Description
true RMC call initialization succeeded.
false Failure.

Description

Batch-uploads only metadata for the specified data IDs to the DataStore server.

This function takes a data ID as an argument. With standard uploads, the server automatically assigns a data ID. However, when this function is used, the client can specify the data ID. For more information, see the Programming Manual. If you use this function and upload only the metadata, data is not stored in a special storage server.

A single item of metadata can be set to multiple Data IDs. Up to 100 sets of metadata can be batch-processed. The result of processing each data ID specified in dataIds is returned to pResult in the same order in which it was specified. pResult takes only that specified number of results.

Revision History

2013/12/16
Initial version.

CONFIDENTIAL