Skip to main content

Edit Table

Edits the leaderboard table configuration information.

Source Code

playNANOOHandlers.leaderboardTableEdit = function (args) {
var result = plugin['v20240301'].leaderboard.tableEdit({
parameters: {
uid: args.uid,
recordType: args.recordType,
recordSortType: args.recordSortType,
recordPriority: args.recordPriority,
}
});

if (result.statusCode === 200) {
return {
status: "success"
}
} else {
return {
status: "false"
}
}
}

Request Parameter

ParameterDescriptionType
uidTable identification codestring
recordTypeRecord method
highscore : Highest score
lowscore : Lowest score
sum : Cumulative score
refresh : New score
string
recordSortTypeSort method
desc : Descending order
asc : Ascending order
string
recordPriorityLeaderboard record priority setting
y : Set record priority
n : Do not set record priority
string
info

The refresh cycle of a created leaderboard cannot be modified.

Response

HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
{
"Status": "string"
}

Response Details

Data KeyDescriptionType
StatusProcessing resultstring