Kits SDK para Unity / Consumir artículos y monedas virtuales del inventario del jugador
  Volver a Documentos

Kits SDK para Unity

Consumir artículos y monedas virtuales del inventario del jugador

A player’s inventory can contain the following types of items they bought or received according to the game logic:

  • Virtual items:
    • Consumable (grenades, bullets, etc.) of which the quantity decreases when consumed.
    • Nonconsumable (access to a location, status, cosmetics, pre-installed DLC, NO ADS option for mobile games, etc.).
    • Time-limited items (temporary access to an in-game cosmetic item, item, additional content, etc.).
  • Virtual currencies

You can implement the item consumption logic from the application client only for consumable virtual items and virtual currencies. To do this, use the ConsumeInventoryItem SDK method.

You can only remove non-consumable and time-limited items from the inventory via the Revoke inventory items server API method.

¿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.
Valore esta página
Valore esta página
¿Hay algo en lo que podamos mejorar?

Prefiero no responder

¡Gracias por tu mensaje!

Enlaces útiles

Última actualización: 10 de Octubre de 2023

¿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!