본문으로 건너뛰기

멤버 조회

길드에 가입된 플레이어를 조회합니다.

호출 정보

public void MemberSearch (string tableCode, string uid, PlayNANOODelegate callback) {}

호출 상세 정보

파라미터설명타입
tableCode테이블 코드string
uid길드 고유 식별 아이디string
callback통신 결과PlayNANOODelegate

소스 코드

using PlayNANOO;

public class PlayNANOOExample : MonoBehaviour
{
Plugin plugin;

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

plugin.Guild.MemberSearch("tableCode", "uid", (status, error, jsonString, values) => {
if (status.Equals(Configure.PN_API_STATE_SUCCESS))
{
foreach (Dictionary<string, object> value in (ArrayList)values["Items"])
{
Debug.Log(value["Uuid"]);
Debug.Log(value["Nickname"]);
Debug.Log(value["Grade"]);
Debug.Log(value["Point"]);
Debug.Log(value["ExtraData"]);
Debug.Log(value["LastLoginDate"]);
Debug.Log(value["InDate"]);
}
}
else
{
Debug.Log("Fail");
}
});
}
}

통신 결과

HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
{
"Items" : [
{
"Uuid" : "string",
"Nickname" : "string",
"Grade" : "integer",
"Point" : "integer",
"ExtraData": "string",
"LastLoginDate" : "string",
"InDate" : "string"
}
]
}

통신 결과 상세 정보

데이터키설명타입
Uuid플레이어 고유 식별 아이디string
Nickname플레이어 닉네임string
Grade플레이어 등급string
Point길드 기여 포인트integer
ExtraData추가 데이터string
LastLoginDate마지막 접속 일자string
InDate길드 가입 일자string