친구 삭제
플레이어에게 승인/대기자 목록에 있는 플레이어 정보를 삭제한다.
호출 정보
FriendDelete(String friendCode, String friendRelationshipCode, PlayNANOODelegate callback) {}
호출 상세 정보
파라미터 | 설명 | 타입 |
---|---|---|
friendCode | 친구 테이블 식별 코드 | string |
friendRelationshipCode | 친구 관계 식별 코드 | string |
friendCode | 통신 결과 | PlayNANOODelegate |
소스 코드
using PlayNANOO;
public class PlayNANOOExample : MonoBehaviour
{
Plugin plugin;
void Awake()
{
plugin = Plugin.GetInstance();
string friendCode = "string";
string friendRelationshipCode = "string";
plugin.FriendDelete(friendCode, friendRelationshipCode, (state, message, rawData, dictionary) => {
if(state.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
{
"code" : 200,
"message" : 0,
"value" : []
}