SDKs de nível empresarial para Unity / Exiba o catálogo de itens em seu aplicativo
  Voltar aos Documentos

SDKs de nível empresarial para Unity

Exiba o catálogo de itens em seu aplicativo

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.

Guias

Learn about advanced setups from our how-tos.

Como trabalhar com conjuntos

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.
Observação
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.
Este artigo foi útil?
Obrigado!
Podemos melhorar alguma coisa? Mensagem
Que pena ouvir isso
Explique porque este artigo não foi útil para você. Mensagem
Obrigado pelo seu feedback!
Avaliaremos sua mensagem e a usaremos para melhorar sua experiência.
Ocultar

Links úteis

Última atualização: 22 de Janeiro de 2024

Encontrou um erro de texto ou digitação? Selecione o texto e pressione Ctrl+Enter.

Relatar um problema
Nós sempre avaliamos nossos conteúdos. Seu feedback nos ajuda a melhorá-los.
Forneça um e-mail para que possamos responder
Obrigado pelo seu feedback!