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

> PlayFab Multiplayer C++ SDK の PFEntityKey: エンティティの種類と ID を組み合わせて、Lobby および Matchmaking API 内で 1 つのエンティティを一意に識別する構造体です。

PFEntityKey データ モデル。エンティティの種類と ID を組み合わせて、1 つのエンティティを一意に識別する構造体。

## 構文

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

### メンバー

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

エンティティの一意な ID。

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

エンティティの種類。/playfab/live-service-management/game-configuration/entities/available-built-in-entity-types を参照してください。

プレイヤー エンティティは通常 `title_player_account` 型です。詳細については、/playfab/live-service-management/game-configuration/entities/available-built-in-entity-types を参照してください。

## 注釈

エンティティの詳細については、/playfab/live-service-management/game-configuration/entities/ を参照してください。

## 要件

**ヘッダー:** PFEntityKey.h


## Related topics

- [PlayFab Multiplayer Unity SDK](/ja-jp/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/index.md)
- [PFEntityKey](/ja-jp/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/PFEntityKey/PFEntityKey.md)
- [PFEntityKey.Type](/ja-jp/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/PFEntityKey/Type.md)
- [PFEntityKey.Id](/ja-jp/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/PFEntityKey/Id.md)
- [PFEntityKey C API](/ja-jp/services/playfab/api-references/c/pftypes/structs/pfentitykey-c.md)
