Skip to main content

Edit Table

Edits the leaderboard table settings.

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 identifier codestring
recordTypeRecord type
highscore : Highest score
lowscore : Lowest score
sum : Cumulative score
refresh : Latest score
string
recordSortTypeSort method
desc : Descending order
asc : Ascending order
string
recordPriorityLeaderboard record priority setting
y : Record priority set
n : Record priority not set
string
info

Refresh cycle of an already created leaderboard cannot be edited.

Communication Result

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

Communication Result Details

Data KeyDescriptionType
StatusOperation resultstring