Skip to content

Ranking Protocol 2

Yannik Marchand edited this page Feb 10, 2022 · 24 revisions

NEX Protocols > Ranking 2 (122)

The following games have additional methods in the ranking 2 protocol:

This remainder of this page describes the methods that are not specific to any game.

Method ID Method Name
1 PutScore
2 GetCommonData
3 PutCommonData
4 DeleteCommonData
5 GetRanking
6 GetRankingByPrincipalId
7 GetCategorySetting
8 GetRankingChart
9 GetRankingCharts
10 GetEstimateScoreRank

(1) PutScore

Request

Type Name
List<Ranking2ScoreData> scoreDataList
Uint64 nexUniqueId

Response

This method does not return anything.

(2) GetCommonData

Request

Type Name
Uint32 optionFlags
PID principalId
Uint64 nexUniqueId

Response

Type Name
Ranking2CommonData commonData

(3) PutCommonData

Request

Type Name
Ranking2CommonData commonData
Uint64 nexUniqueId

Response

This method does not return anything.

(4) DeleteCommonData

Request

Type Name
Uint64 nexUniqueId

Response

This method does not return anything.

(5) GetRanking

Request

Type Name
Ranking2GetParam getParam

Response

Type Name
Ranking2Info rankingInfo

(6) GetRankingByPrincipalId

Request

Type Name
Ranking2GetByListParam getParam
List<PID> principalIdList

Response

Type Name
Ranking2Info rankingInfo

(7) GetCategorySetting

Request

Type Name
Uint32 category

Response

Type Name
Ranking2CategorySetting categorySetting

(8) GetRankingChart

Request

Type Name
Ranking2ChartInfoInput info

Response

Type Name
Ranking2ChartInfo chart

(9) GetRankingCharts

Request

Type Name
List<Ranking2ChartInfoInput> infoArray

Response

Type Name
List<Ranking2ChartInfo> chartArray

(10) GetEstimateScoreRank

Request

Type Name
Ranking2EstimateScoreRankInput input

Response

Type Name
Ranking2EstimateScoreRankOutput output

Types

Ranking2CommonData (Structure)

Type Name
String userName
qBuffer mii
qBuffer binaryData

Ranking2ScoreData (Structure)

Type Name
Uint64 misc
Uint32 category
Uint32 score

Ranking2GetParam (Structure)

Type Name
Uint64 nexUniqueId
PID principalId
Uint32 category
Uint32 offset
Uint32 length
Uint32 sortFlags
Uint32 optionFlags
Uint8 mode
Uint8 numSeasonsToGoBack

Ranking2GetByListParam (Structure)

Type Name
Uint32 category
Uint32 offset
Uint32 length
Uint32 sortFlags
Uint32 optionFlags
Uint8 numSeasonsToGoBack

Ranking2Info (Structure)

Type Name
List<Ranking2RankData> rankDataList
Uint32 lowestRank
Uint32 numRankedIn
Sint32 season

Ranking2CategorySetting (Structure)

Type Name
Uint32 minScore
Uint32 maxScore
Uint32 lowestRank
Uint16 resetMonth
Uint8 resetDay
Uint8 resetHour
Uint8 resetMode
Uint8 maxSeasonsToGoBack
Bool scoreOrder

Ranking2ChartInfoInput (Structure)

Type Name
Uint32 chartIndex
Uint8 numSeasonsToGoBack

Ranking2ChartInfo (Structure)

Type Name
DateTime createTime
Uint32 index
Uint32 category
Sint32 season
Uint8 binsSize
Uint8 samplingRate
Bool scoreOrder
Uint32 estimateLength
Uint32 estimateHighestScore
Uint32 estimateLowestScore
Uint32 estimateMedianScore
Double estimateAverageScore
Uint32 highestBinsScore
Uint32 lowestBinsScore
Uint32 binsWidth
Uint32 attribute1
Uint32 attribute2
List<Uint32> quantities

Ranking2EstimateScoreRankInput (Structure)

Type Name
Uint32 category
Uint8 numSeasonsToGoBack
Uint32 score

Ranking2EstimateScoreRankOutput (Structure)

Type Name
Uint32 rank
Uint32 length
Uint32 score
Uint32 category
Sint32 season
Uint8 samplingRate

Ranking2RankData (Structure)

Type Name
Uint64 misc
Uint64 nexUniqueId
PID principalId
Uint32 rank
Uint32 score
Ranking2CommonData commonData
Clone this wiki locally