플레이어 삭제
리더보드에 기록 된 플레이어 정보를 삭제 합니다.
호출 정보
public void Delete (string tableCode, string recordId, PlayNANOODelegate callback)
호출 상세 정보
파라미터 | 설명 | 타입 |
---|---|---|
tableCode | 테이블 코드 | string |
recordId | 기록 아이디 (예. 플레이어 아이디) | string |
callback | 통신 결과 | PlayNANOODelegate |
소스 코드
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");
}
});
}
}
통신 결과
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
{
"Status": "success"
}
통신 결과 상세 정보
데이터키 | 설명 | 타입 |
---|---|---|
Status | 처리 결과 | string |