ZEPETO.Module.Shop
18 분
형식 설명 shopservice /#shopservice shopservice 는 world 내 zepeto 상점과 연결된 작업을 수행할 수 있게 합니다 이 서비스를 통해 플레이어는 보유 아이템이나 위시리스트 아이템의 썸네일 이미지 같은 상점 정보에 접근하고, 다른 플레이어에게 선물을 보낼 수 있습니다 categoryresponse /#categoryresponse categoryresponse 클래스는 api 호출 결과와 zepeto 상점 아이템 카테고리 정보를 제공합니다 contentitemlistresponse /#contentitemlistresponse contentitemlistresponse 클래스는 api 호출 결과와 가져온 아이템 목록을 제공합니다 itemkeyword /#itemkeyword 아이템 카테고리입니다 contentitemresponse /#contentitemresponse contentitemresponse 클래스는 api 호출 결과와 아이템 정보를 제공합니다 giftbackgroundtype /#giftbackgroundtype 선물 알림 팝업에 사용할 배경 유형입니다 itemgiftresponse /#itemgiftresponse itemgiftresponse 클래스는 아이템 선물의 결과를 제공합니다 categoryinfo /#categoryinfo zepeto 상점 아이템 카테고리 정보입니다 category /#category 아이템 카테고리입니다 itemrequesttype /#itemrequesttype enum shopservice class shopservice 는 world 내 zepeto 상점과 연결된 작업을 수행할 수 있게 합니다 이 서비스를 통해 플레이어는 보유 아이템이나 위시리스트 아이템의 썸네일 이미지 같은 상점 정보에 접근하고, 다른 플레이어에게 선물을 보낼 수 있습니다 메서드 downloaditemthumbnail static downloaditemthumbnail(itemcode string) → baserequest\<textureresponse> 아이템의 썸네일을 가져오는 비동기 메서드입니다 매개변수 형식 설명 itemcode string 아이템 코드 반환값 baserequest\<textureresponse> — baserequest 객체입니다 비동기 처리가 완료되면 responsedata 속성을 통해 textureresponse 객체에 접근할 수 있습니다 getmycategoryasync static getmycategoryasync() → baserequest\<categoryresponse> 이 메서드는 로컬 플레이어 사용자 계정의 zepeto 상점 인벤토리에서 아이템 카테고리 정보를 가져옵니다 반환값 baserequest\<categoryresponse> — baserequest 객체입니다 비동기 처리가 완료되면 responsedata 속성을 통해 categoryresponse 객체에 접근할 수 있습니다 getmycontentitemlistasync static getmycontentitemlistasync(itemkeyword itemkeyword, pagetoken? string) → baserequest\<contentitemlistresponse> 아이템 카테고리별 아이템 목록을 가져오는 비동기 메서드입니다 매개변수 형식 설명 itemkeyword itemkeyword /#itemkeyword 아이템 카테고리입니다 pagetoken (선택 사항) string 페이지 토큰입니다 이 메서드를 처음 호출할 때는 이 매개변수를 null 로 설정합니다 반환값 baserequest\<contentitemlistresponse> — baserequest 객체입니다 비동기 처리가 완료되면 responsedata 속성을 통해 contentitemlistresponse 객체에 접근할 수 있습니다 getcontentitemasync static getcontentitemasync(itemid string) → baserequest\<contentitemresponse> 아이템 정보를 가져오는 비동기 메서드입니다 매개변수 형식 설명 itemid string 아이템 코드입니다 반환값 baserequest\<contentitemresponse> — baserequest 객체입니다 비동기 처리가 완료되면 responsedata 속성을 통해 contentitemresponse 객체에 접근할 수 있습니다 getmywishcontentitemlistasync static getmywishcontentitemlistasync() → baserequest\<contentitemlistresponse> 로컬 플레이어 사용자 계정의 zepeto 상점 위시리스트에서 아이템 목록을 가져오는 비동기 메서드입니다 반환값 baserequest\<contentitemlistresponse> — baserequest 객체입니다 비동기 처리가 완료되면 responsedata 속성을 통해 contentitemlistresponse 객체에 접근할 수 있습니다 categoryresponse class · extends baseresponse categoryresponse 클래스는 api 호출 결과와 zepeto 상점 아이템 카테고리 정보를 제공합니다 속성 이름 형식 설명 category categoryinfo /#categoryinfo zepeto 상점 아이템 카테고리 정보입니다 contentitemlistresponse class · extends playbaasresponse contentitemlistresponse 클래스는 api 호출 결과와 가져온 아이템 목록을 제공합니다 속성 이름 형식 설명 items item\[] 아이템 목록입니다 nextpagetoken string 항목이 많은 경우 응답에 nextpagetoken 이 포함되어 이후의 아이템 목록을 가져올 수 있습니다 남은 항목이 없으면 nextpagetoken 은 null이 됩니다 itemkeyword enum 아이템 카테고리입니다 이름 값 all 0 hair 1 onepiece 2 top 3 outwear 4 pants 5 skirt 6 socks 7 footwear 8 headwear 9 eyewear 10 jewelry 11 makeup 12 accessory 13 bodyfigure 14 animal 15 none 16 contentitemresponse class · extends playbaasresponse contentitemresponse 클래스는 api 호출 결과와 아이템 정보를 제공합니다 속성 이름 형식 설명 item item 아이템입니다 giftbackgroundtype enum 선물 알림 팝업에 사용할 배경 유형입니다 이름 값 type01 1 type02 2 type03 3 type04 4 itemgiftresponse class · extends purchasebaseresponse itemgiftresponse 클래스는 아이템 선물의 결과를 제공합니다 속성 이름 형식 설명 zem number 선물하기 완료 후 로컬 플레이어 사용자 계정에 남은 zem 잔액입니다 coin number 선물하기 완료 후 로컬 플레이어 사용자 계정에 남은 코인 잔액입니다 categoryinfo class zepeto 상점 아이템 카테고리 정보입니다 속성 이름 형식 설명 displayname string 상점 인벤토리 탭의 현지화된 표시 이름입니다 categories category\[] /#category 인벤토리 탭 하위의 아이템 카테고리 목록입니다 category class 아이템 카테고리입니다 속성 이름 형식 설명 displayname string 아이템 카테고리의 현지화된 표시 이름입니다 keyword itemkeyword /#itemkeyword 아이템 카테고리를 나타내는 열거형입니다 itemrequesttype enum 이름 값 purchase 0 gift 1