#include <dwc.h>
typedef struct DWCRnkGetParam {
u32 size;
DWCRnkGetParam_order order;
DWCRnkGetParam_toplist toplist;
DWCRnkGetParam_nearby nearby;
DWCRnkGetParam_friends friends;
u32 data;
} DWCRnkGetParam;Specify these parameters when getting scores using DWC_RnkGetScoreAsync. Be sure to set these parameters appropriately according to the score retrieval mode specified by DWCRnkGetScoreAsync.
| size | Size in bytes. Specifies the parameter size in accordance with the mode. Example: Specify sizeof(DWCRnkGetParam_order) when in order retrieval mode (also called get rank mode). |
| 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. |
DWC_RNK_GET_MODE_NEAR_*CONFIDENTIAL