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