Class:apiName(parameters) | Return | Description |
CloudSever:getOrderDataByKey(libvarname:string, Key:string, callback:function) | ErrorCode.OK | Description: Get the value of the specified name in the leaderboard |
CloudSever:getOrderDataIndexValue(libvarname:string, index:number, callback:function) | ErrorCode.OK | Description: Get the value of the specified ranking in the leaderboard |
CloudSever:removeOrderDataByKey(libvarname:string, Key:string) | ErrorCode.OK | Description: Delete the value of the specified name in the leaderboard |
CloudSever:automaticByKey(libvarname:string, Key:string, value:number) | ErrorCode.OK | Description: Make the value of the specified name in the leaderboard self-operation |
CloudSever:getOrderDataIndexArea(libvarname:string, index:number, callback:function) | ErrorCode.OK | Description: Get the value of the top ranking of the leaderboard |
CloudSever:getOrderDataValueArea(libvarname:string, index:number, minnum:number, maxnum:number, callback:function) | ErrorCode.OK | Description: Get the top ranking values of the specified value area in the leaderboard |
CloudSever:ClearOrderData(libvarname:string) | ErrorCode.OK | Description: Clear the leaderboard |
CloudSever:setDataListBykey(libvarname:string, Key:string, value:number or string) | ErrorCode.OK | Description: Set any value of the specified name in the table |
CloudSever:getDataListByKey(libvarname:string, Key:string, callback:function) | ErrorCode.OK | Description: Get the value of the specified name in the table |
CloudSever:removeDataListByKey(libvarname:string, Key:string) | ErrorCode.OK | Description: Remove the value of the specified name in the table |
CloudSever:ClearDataList(libvarname:string) | ErrorCode.OK | Description: Clear the table |
CloudSever:getlistCache(libvarname:string) | ErrorCode.OK | Description: Get the cached data of the table or leaderboard |
CloudSever:UpdateDataListByKey(libvarname:string, key:string, callback:function) | ErrorCode.OK | Description: Securely update the value under a certain key in the table |
CloudSever:SendSeverMsg(msg:string, customdata:any) | number | Description: Send a service notification message |
CloudSever:TransmitToMap(playerid:uin or array, mapid:number) | number | Description: Teleport the player to the specified map |
CloudSever:TransmitToRoom(playerid:uin or array, roomid:string) | number | Description: Teleport the player to the specified room |
CloudSever:TransmitOtherRoom(playerid:uin or array) | number | Description: Teleport the player to other rooms |
CloudSever:GetRoomID() | number, roomid:string | Description: Get the current cloud server room ID |