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