친구 요청 목록 조회
친구 테이블에 등록된 미승인 플레이어 친구 정보를 조회합니다.
소스 코드
var result = pluginFriend.ready({
version : "v4",
parameters : {
tableCode : "FRIEND_TABLE_CODE"
}
});
var parse = JSON.parse(result.body);
if(parse.code == 200) {
log.debug("success");
log.debug(parse.value.toString());
} else {
log.debug("fail");
}
요청 파라미터
파라미터 | 설명 | 타입 |
---|---|---|
tableCode | 테이블 코드 | string |
통신 결과
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
{
"code" : 200,
"message" : 0,
"value" : [
{
"relationship_code" : "String",
"uuid" : "String",
"nickname" : "String",
"access_timezone" : "String",
"access_diff" : "Integer",
"access_timestamp" : "Integer"
}
]
}
통신 결과 상세 정보
데이터키 | 설명 | 타입 |
---|---|---|
relationship_code | 친구 관계 식별 코드 | string |
uuid | 플레이어 식별 아이디 | string |
nickname | 플레이어 닉네임 | string |
access_timezone | 플레이어 접속 시간 타임존 | string |
access_diff | 플레이어 접속 시간 (초단위) | integer |
access_timestamp | 플레이어 마지막 접속시간 | integer |