qBool GetCachedTopXRankings( ProtocolCallContext * pContext, const qVector< qUnsignedInt32 > & categories, const qVector< RankingOrderParam > & orderParams, qVector< RankingCachedResult > * pResults ); qBool GetCachedTopXRankings( ProtocolCallContext * pContext, const qVector< qUnsignedInt32 > & categories, const RankingOrderParam & orderParam, qVector< RankingCachedResult > * pResults );
GetCachedTopXRankings ( ProtocolCallContext *, const qVector< qUnsignedInt32 > &, const qVector< RankingOrderParam > &, qVector< RankingCachedResult > * )
|
Gets multiple cached top ranking lists up to the predefined length. |
GetCachedTopXRankings ( ProtocolCallContext *, const qVector< qUnsignedInt32 > &, const RankingOrderParam &, qVector< RankingCachedResult > * )
|
Gets multiple cached top ranking lists up to the predefined size. Only one orderParam can be specified. |
This function gets rankings that are cached on the server for up to five minutes. Because of this, the access count is recorded separately from the other ranking functions for the guideline check. The offset and length of RankingOrderParam
are ignored. The offset value is set to 0
and the length uses the value configured in NMAS. The types of rankings that can be acquired simultaneously depend on the length. Up to a maximum of 100 combinations of length and categories can be acquired. Initially, rankings with 20 scores and 5 categories can be acquired simultaneously. A different cache is built for each combination of category and RankingOrderParam
. Up to a maximum of 200 caches can be used across a game.
Rankings for communities that are user-generated or that have an uncertain number of users may increase. They do not benefit greatly from caching. Refrain from using this function with those communities.
Combinations are formed from categories and orderParams in the order the values are specified.
This function gets rankings that are cached on the server for up to five minutes. Because of this, the access count is recorded separately from the other ranking functions for the guideline check. The offset and length of RankingOrderParam
are ignored. The offset value is set to 0
and the length uses the value configured in NMAS. The types of rankings that can be acquired simultaneously depend on the length. Up to a maximum of 100 combinations of length and categories can be acquired. Initially, rankings with 20 scores and 5 categories can be acquired simultaneously. A different cache is built for each combination of category and RankingOrderParam
. Up to a maximum of 200 caches can be used across a game.
Rankings for communities that are user-generated or that have an uncertain number of users may increase. They do not benefit greatly from caching. Refrain from using this function with those communities.
CONFIDENTIAL