SDK de nivel empresarial para Unity / Atributos de usuario
  Volver a Documentos

SDK de nivel empresarial para Unity

Atributos de usuario

You can use attributes to manage additional information about the users of your application or to set up personalized offers.

Each user attribute is a key-value pair. There are 2 types of attributes:

  • User-editable. The values for this type of attributes are entered by a user or specified according to the in-game logic on the client side. For example, the name and character stats, game difficulty level, etc.
  • Read-only. The values for this type of attributes are entered and edited on the server side of your application. We recommend that you use them for configuration of game character stats or user parameters that shouldn’t change regularly. For example, chance to get a bonus, game character key parameters, user categories, etc.
Nota
To set up personalized offers, use read-only attributes.

To implement the logic for working with client attributes, use the following SDK methods:

  • GetUserAttributes — returns a list of user attributes with their values and descriptions.
  • UpdateUserAttributes — updates the values of user attributes with the specified IDs. The method can be used to create or remove attributes. Changes are made on the user data storage side.

To implement the logic for working with read-only attributes, use the server API methods.

Nota
To get a list of server attributes with their values and descriptions for a specific user on the application client, you can use the GetUserAttributes SDK 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!