> ## 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.

# 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](/services/playfab/multiplayer/matchmaking/quickstart-client-sdk.md)
- [PlayFab Multiplayer Unity SDK](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/index.md)
- [PFEntityKey](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/PFEntityKey/PFEntityKey.md)
- [PFEntityKey C API](/services/playfab/api-references/c/pftypes/structs/pfentitykey-c.md)
- [PFEntityKey.Id](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/PFEntityKey/Id.md)
