characterId explicitly and do not need to update the representative character every time the player switches characters.
For account-wide currency, achievements, or settings, use user data from Data Management.
Setup
- Create a character data table in Console.
- Define the fields and types.
- Sign in a user and keep the target character ID available in the client.
Save
To save data for the representative character, use the existing convenience method.Load
Representative character data:Tips
- Keep the selected character ID in your character selection UI and pass it to
SaveCharacterDataForCharacterandGetCharacterDataForCharacter. - Update the representative character only when you want profile, search, or friend views to show a different character.
- Keep Console schemas and client models aligned.
- Store searchable gameplay metrics in purpose-built features such as rankings, groups, or game logs.