Kits SDK para Unity / Visualizar el catálogo de artículos en su aplicación
  Volver a Documentos

Kits SDK para Unity

Visualizar el catálogo de artículos en su aplicación

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.

Instrucciones

Learn about advanced setups from our how-tos.

Cómo trabajar con lotes

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.
Nota
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.
¿Te ha resultado útil este artículo?
¡Gracias!
¿Hay algo en lo que podamos mejorar? Mensaje
Lo sentimos
Por favor, cuéntanos por qué no te ha resultado útil este artículo. Mensaje
¡Gracias por tu mensaje!
Nos ayudará a mejorar tu experiencia.
Ocultar

Enlaces útiles

Última actualización: 22 de Enero de 2024

¿Has encontrado una errata u otro error de texto? Selecciona el texto y pulsa Ctrl+Intro.

Informar de un problema
Nos esforzamos por ofrecer contenido de calidad. Tus comentarios nos ayudan a mejorar.
Déjanos tu correo electrónico para que te podamos responder
¡Gracias por tu mensaje!