Delete Player
Deletes player information recorded in the leaderboard.
Call Information
public void Delete (string tableCode, string recordId, PlayNANOODelegate callback)
Call Details
| Parameter | Description | Type |
|---|---|---|
| tableCode | Table code | string |
| recordId | Record ID (e.g. Player ID) | string |
| callback | Communication result | PlayNANOODelegate |
Source Code
using PlayNANOO;
public class PlayNANOOExample : MonoBehaviour
{
Plugin plugin;
void Awake()
{
plugin = Plugin.GetInstance();
plugin.LeaderboardManagerV20240301.Delete(tableCode, recordId, (status, errorCode, jsonString, values) => {
if (status.Equals(Configure.PN_API_STATE_SUCCESS))
{
Debug.Log("Success");
}
else
{
Debug.Log("Fail");
}
});
}
}
Response
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
{
"Status": "success"
}
Response Details
| Data Key | Description | Type |
|---|---|---|
| Status | Processing result | string |