길드 중복 조회
길드 이름의 중복을 조회합니다.
호출 정보
public void Exists (string tableCode, string name, PlayNANOODelegate callback) {}
호출 상세 정보
파라미터 | 설명 | 타입 |
---|---|---|
tableCode | 테이블 코드 | string |
name | 길드 이름 | string |
callback | 통신 결과 | PlayNANOODelegate |
소스 코드
using PlayNANOO;
public class PlayNANOOExample : MonoBehaviour
{
Plugin plugin;
void Awake()
{
plugin = Plugin.GetInstance();
plugin.Guild.Exists("tableCode", "name", (status, error, jsonString, values) => {
if (status.Equals(Configure.PN_API_STATE_SUCCESS))
{
Debug.Log(values["Status"].ToString());
}
else
{
Debug.Log("Fail");
}
});
}
}
통신 결과
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
{
"Status" : "String"
}
통신 결과 상세 정보
데이터키 | 설명 | 타입 |
---|---|---|
Status | 길드 이름 중복 결과 EXISTS : 중복 NOT_EXISTS : 중복아님 | string |