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

# PFEntityKey - PlayFab Multiplayer SDK

> PFEntityKey in the PlayFab Multiplayer C++ SDK: a combined entity type and ID structure that uniquely identifies a single entity in Lobby and Matchmaking APIs.

PFEntityKey data model. Combined entity type and ID structure which uniquely identifies a single entity.

## Syntax

```cpp theme={null}
typedef struct PFEntityKey {  
    const char* id;  
    const char* type;  
} PFEntityKey;  
```

### Members

**`id`**   const char\*\
**Null\_terminated**

Unique ID of the entity.

**`type`**   const char\*\
**Null\_terminated**

Entity type. See /playfab/live-service-management/game-configuration/entities/available-built-in-entity-types.

Player entities are typically the `title_player_account` type. For more information, see /playfab/live-service-management/game-configuration/entities/available-built-in-entity-types.

## Remarks

For more information about entities, see /playfab/live-service-management/game-configuration/entities/.

## Requirements

**Header:** PFEntityKey.h


## Related topics

- [Matchmaking SDK quickstart](https://docs.xbox.com/services/playfab/multiplayer/matchmaking/quickstart-client-sdk.md)
- [PlayFab Multiplayer Unity SDK](https://docs.xbox.com/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/index.md)
- [PlayFab Multiplayer C++ SDK Error Codes](https://docs.xbox.com/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pfmultiplayererrors.md)
- [Lobby SDK Quickstart](https://docs.xbox.com/services/playfab/multiplayer/lobby/lobby-getting-started.md)
- [PFEntityKey](https://docs.xbox.com/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/PFEntityKey/PFEntityKey.md)
