본문으로 건너뛰기

테이블 수정

리더보드 테이블을 수정 합니다.

호출 정보

public void TableEdit (TableManage tableManage, PlayNANOODelegate callback) {}

호출 상세 정보

파라미터설명타입
tableManage테이블 설정 정보MultiSaveParam
callback통신 결과PlayNANOODelegate

소스 코드

using PlayNANOO;

public class PlayNANOOExample : MonoBehaviour
{
Plugin plugin;

void Awake()
{
plugin = Plugin.GetInstance();

PlayNANOO.LeaderBoard.v20240301.TableManage tableManage = new PlayNANOO.LeaderBoard.v20240301.TableManage();
tableManage.uid = "TABLE_CODE";
tableManage.recordType = PlayNANOO.LeaderBoard.v20240301.RecordType.HIGHSCORE;
tableManage.recordSortType = PlayNANOO.LeaderBoard.v20240301.SortType.ASC;
tableManage.recordPriority = false;

plugin.LeaderboardManagerV20240301.TableEdit(tableManage, (status, errorCode, jsonString, values) => {
if (status.Equals(Configure.PN_API_STATE_SUCCESS))
{
Debug.Log("Success");
}
else
{
Debug.Log("Fail");
}
});
}
}

TableManage 상세 정보

데이터키설명타입
uid테이블 식별 아이디string
recordType리더보드 기록 방식TableCreate.recordType
recordSortType리더보드 정렬 발식TableCreate.recordSortType
recordPriority리더보드 기록 우선 순위 설정boolean

통신 결과

HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
{
"Status": "success"
}

통신 결과 상세 정보

데이터키설명타입
Status처리 결과string