DWCRnkGetParam

Definitions


#include <dwc.h>

typedef struct DWCRnkGetParam {
    u32 size;
    union {
        DWCRnkGetParam_order order;
        DWCRnkGetParam_toplist toplist;
        DWCRnkGetParam_nearby nearby;
        DWCRnkGetParam_friends friends;
        u32 data;
    };
} DWCRnkGetParam;

Description

Specify these parameters when getting scores using the DWC_RnkGetScoreAsync function. Be sure to set these parameters appropriately according to the score retrieval mode specified by DWC_RnkGetScoreAsync.

size Size in bytes. Specifies the parameter size in accordance with the retrieval mode.
For example, when in order retrieval mode (also called get-rank mode), specify sizeof(DWCRnkGetParam_order) here.
order Specified when the mode is DWC_RNK_GET_MODE_ORDER.
toplist Specified when the mode is DWC_RNK_GET_MODE_TOPLIST.
nearby Specified when the mode is DWC_RNK_GET_MODE_NEAR_*.
friends Specified when the mode is DWC_RNK_GET_MODE_FRIENDS.
data Used internally by the library.

See Also

DWC_RnkGetScoreAsync

Revision History

5.1 PR2
Added that the upper limit on the range that can be set for limit is 65 (DWC_RNK_FRIENDS_MAX+1) when the retrieval mode is DWC_RNK_GET_MODE_FRIENDS.
5.1 PR2
Corrected the incorrect location of the union definition. Changed near to nearby.

For the changelog prior to 5.1 PR2, click here.


CONFIDENTIAL