SDK pour Unity (PC, Web) / Affichage du catalogue des objets dans l'application
  Retour à la documentation

SDK pour Unity (PC, Web)

Affichage du catalogue des objets dans l’application

To display items in the in-game store, use the following SDK methods:

SDK method nameDescription
GetCatalog
Returns a list of virtual items according to pagination settings. The list includes items for which display in the store is enabled in the settings. For each virtual item, complete data is returned.
GetCatalogSimplified
Returns a full list of virtual items. The list includes items for which display in the store is enabled in the settings. For each virtual item, the SKU, name, description, and data about the groups it belongs to are returned.
GetItemGroups
Returns a full list of virtual item groups. The list includes groups for which display in the store is enabled in the settings
GetGroupItems
Returns a list of items for the specified group according to pagination settings. The list includes items for which display in the store is enabled in the settings. In the settings of the group, the display in the store must be enabled.
GetVirtualCurrencyList
Returns a list of virtual currencies according to pagination settings.
GetVirtualCurrencyPackagesList
Returns a list of virtual currency packages according to pagination settings. The list includes packages for which display in the store is enabled in the settings.
GetBundles
Returns a list of bundles according to pagination settings. The list includes bundles for which display in the store is enabled in the settings.
GetBundle
Returns information about the contents of the specified bundle. In the bundle settings, display in the store must be enabled.

Instructions

Learn about advanced setups from our how-tos.

Comment utiliser les lots

To get new users to your application and increase sales, you can sell sets of items as bundles for less than the cost of their content.

A bundle may include:

  • virtual currency (including the platform-dependent currency)
  • package of virtual currency
  • game keys for preselected platforms
  • virtual items including time-limited items
  • bundles

For details on the features and limitations of bundles, see the In-Game Store guide.

To work with bundles:

  1. Complete the settings in Publisher Account by following the instructions for setting up a bundle.
  2. Implement in-game logic using the following SDK methods:

    • GetBundles — gets a list of bundles for building a catalog.
    • GetBundle — gets a bundle for the specified SKU.
Note
For bundles that contain items sold for real currency, the total cost of these items is passed in the total_content_price parameter. You can use this value to display the benefits of buying a bundle in your application.
Cet article vous a été utile ?
Merci !
Que pouvons-nous améliorer ? Message
Nous sommes désolés de l'apprendre
Dites-nous pourquoi vous n'avez pas trouvé cet article utile. Message
Merci pour votre commentaire !
Nous examinerons votre message et l'utiliserons pour améliorer votre expérience.
Masquer

Liens utiles

Dernière mise à jour: 22 Janvier 2024

Faute de frappe ou autre erreur dans le texte ? Sélectionnez le texte concerné et appuyez sur Ctrl+Entée.

Signaler un problème
Nous améliorons continuellement notre contenu grâce à vos commentaires.
Indiquez votre adresse e-mail pour un suivi
Merci pour votre commentaire !