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
Parameter | Description | Type |
---|---|---|
uid | Table identifier code | string |
recordType | Record type highscore : Highest score lowscore : Lowest score sum : Cumulative score refresh : Latest score | string |
recordSortType | Sort method desc : Descending order asc : Ascending order | string |
recordPriority | Leaderboard 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 Key | Description | Type |
---|---|---|
Status | Operation result | string |