> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Use entity objects to store player data

> Store and retrieve small JSON objects on PlayFab entities using SetObjects and GetObjects, with C# samples for player data and Game Manager review.

Entity objects allow you to read and write small JSON-serializable objects attached to an entity. All entity types support the same `GetObjects` and `SetObjects` methods.

The examples that are shown below demonstrate setting and reading an `Object` on a `title_player_account`.

```csharp theme={null}
var data = new Dictionary<string, object>()
{
    {"Health", 100},
    {"Mana", 10000}
};
var dataList = new List<SetObject>()
{
    new SetObject()
    {
        ObjectName = "PlayerData",
        DataObject = data
    },
    // A free-tier customer may store up to 3 objects on each entity
};
PlayFabDataAPI.SetObjects(new SetObjectsRequest()
{
    Entity = new EntityKey {Id = entityId, Type = entityType}, // Saved from GetEntityToken, or a specified key created from a titlePlayerId, CharacterId, etc
    Objects = dataList,
}, (setResult) => {
    Debug.Log(setResult.ProfileVersion);
}, OnPlayFabError);
```

```csharp theme={null}
var getRequest = new GetObjectsRequest {Entity = new EntityKey {Id = entityId, Type = entityType}};
PlayFabDataAPI.GetObjects(getRequest,
    result => { var objs = result.Objects; },
    OnPlayFabError
);
```

## Game Manager and entities

The Game Manager allows you to manipulate objects and files for players. The player overview has been updated to show both the title player and master player account information.

<img src="https://mintcdn.com/microsoft-4404708b/3hg2JQs0m7qmDqay/images/playfab/live-service-management/game-configuration/entities/tutorials/game-manager-entities-player-overview.png?fit=max&auto=format&n=3hg2JQs0m7qmDqay&q=85&s=ceac36d3b1e7fd248caeedbf4bea8055" alt="Game Manager - Entities - Player overview" width="1800" height="1406" data-path="images/playfab/live-service-management/game-configuration/entities/tutorials/game-manager-entities-player-overview.png" />

In addition, files and objects now have their own sections in the **Players** tab.

<img src="https://mintcdn.com/microsoft-4404708b/3hg2JQs0m7qmDqay/images/playfab/live-service-management/game-configuration/entities/tutorials/game-manager-entities-player-files.png?fit=max&auto=format&n=3hg2JQs0m7qmDqay&q=85&s=70b96669460d8bb673ec25fdbcd1bd41" alt="Game Manager - Entities - Player Files and Objects" width="1800" height="969" data-path="images/playfab/live-service-management/game-configuration/entities/tutorials/game-manager-entities-player-files.png" />

## Related features

Entity objects and files are used across several PlayFab features, each scoped to a different entity type:

| Feature                                                                                   | Entity types                                                 | Use case                                                 |
| ----------------------------------------------------------------------------------------- | ------------------------------------------------------------ | -------------------------------------------------------- |
| [Game Server Configuration](/services/playfab/live-service-management/game-configuration) | `game_server`                                                | Server-side settings and server-authoritative data       |
| [Title Data](/services/playfab/live-service-management/game-configuration/titledata)      | `namespace`, `title`                                         | Global key/value configuration shared across all players |
| [Player Data](/services/playfab/player-progression/player-data)                           | `title_player_account`, `master_player_account`, `character` | Per-player profile, progress, and preference storage     |
| [Groups](/services/playfab/community/associations/groups)                                 | `group`                                                      | Data shared within a player group or guild               |


## Related topics

- [Player Data](/services/playfab/player-progression/player-data/index.md)
- [Entity Programming Model](/services/playfab/live-service-management/game-configuration/entities/index.md)
- [Entity Groups](/services/playfab/community/associations/groups/quickstart.md)
- [PFPlayerDataManagementClientGetUserDataAsync](/services/playfab/api-references/c/pfplayerdatamanagement/functions/pfplayerdatamanagementclientgetuserdataasync.md)
- [PFPlayerDataManagementClientUpdateUserDataAsync](/services/playfab/api-references/c/pfplayerdatamanagement/functions/pfplayerdatamanagementclientupdateuserdataasync.md)
