Affichage du catalogue des objets dans l’application
To display items in the in-game store, use the following SDK methods:
SDK method name | Description |
---|---|
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.
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:
- Complete the settings in Publisher Account by following the instructions for setting up a bundle.
- 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 pour votre commentaire !
Nous examinerons votre message et l'utiliserons pour améliorer votre expérience.Liens utiles
Dernière mise à jour: 22 Janvier 2024Faute de frappe ou autre erreur dans le texte ? Sélectionnez le texte concerné et appuyez sur Ctrl+Entée.