DWC_RnkInitializeDebug

Syntax

#include <dwc.h>
DWCRnkError DWC_RnkInitializeDebug(const char *initdata,
                                   int profileid);

Arguments

initdata Initialization data (string).
profileid GS profile ID. Specify a positive value of 100000 or greater.

Return Values

DWC_RNK_SUCCESS Succeeded.
DWC_RNK_ERROR_INIT_ALREADYINITIALIZED Initialized.
DWC_RNK_ERROR_INIT_INVALID_INITDATASIZE Invalid initial data size.
DWC_RNK_ERROR_INIT_INVALID_INITDATA Invalid initialization data, or the production server is specified.
DWC_RNK_ERROR_INIT_INVALID_USERDATA Invalid user ID.

Description

This initialization function is for debugging the ranking library. It specifies a GS Profile ID instead of user data for initialization. Use this function if you need to upload a large amount of ranking data to the server for the purpose of debugging.

The function can only be used when the development server is specified. If the production server has been specified, the function returns the error code DWC_RNK_ERROR_INIT_INVALID_INITDATA. The function is the same as DWC_RnkInitialize, except that you can specify GS Profile IDs instead of user data for initialization of the ranking library.

Revision History

5.4
Initial version.

For the change log prior to 5.1 PR2, click here.  


CONFIDENTIAL