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

# player_consumed_item

> player_consumed_item イベント。

このイベントは、プレイヤーがインベントリからアイテムを消費したときにトリガーされます。

## Properties

| Name                  | Type   | Description                                                     |
| :-------------------- | :----- | :-------------------------------------------------------------- |
| CatalogVersion        | String | 消費されたインベントリ アイテムが作成されたカタログのバージョン。                               |
| ItemId                | String | 消費されたインベントリ アイテムが作成されたカタログ アイテムの ID。この値を使用して、カタログからアイテムを検索できます。 |
| ItemInstanceId        | String | 消費された特定のアイテムの ID。                                               |
| PreviousUsesRemaining | uint32 | 複数回使用可能なアイテムの場合、アイテムが消費される前の残り使用回数。                             |
| TitleId               | String | このプレイヤー イベントが適用されるタイトルの ID。                                     |
| UsesRemaining         | uint32 | 複数回使用可能なアイテムの場合、アイテムが消費された後の残り使用回数。                             |

## Common Properties

すべての V1 PlayStream イベントは JSON オブジェクトとして書式設定されており、次の共通プロパティを共有します。

| Name           | Type                                                                        | Description                                                                                                                                                                                                                                               |
| :------------- | :-------------------------------------------------------------------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| EntityId       | String                                                                      | このイベントが適用されるエンティティ (タイトル、プレイヤーなど) の識別子。                                                                                                                                                                                                                   |
| EntityType     | String                                                                      | このイベントが適用されるエンティティのタイプ (プレイヤー、タイトルなど)。PlayFab がこのエンティティに対してアクションを実行する場合、EntityType は 'player'、'character'、または 'title' のいずれかである必要があります。PlayFab が現在解析しないエンティティ タイプには、名前空間 ('com.mygame.guild' など) を先頭に付ける必要があります。PlayFab はいつでもルート エンティティの解析を開始する可能性があるためです。 |
| EventId        | String                                                                      | このイベントに対して PlayFab から割り当てられた一意の識別子。                                                                                                                                                                                                                       |
| EventName      | String                                                                      | このイベントの名前。                                                                                                                                                                                                                                                |
| EventNamespace | String                                                                      | このイベントに割り当てられた名前空間。例: 'com.myprogram.ads'                                                                                                                                                                                                                 |
| Source         | String                                                                      | この PlayStream イベントのソースの名前。イベントが当社から発信された場合は PlayFab になります。                                                                                                                                                                                                |
| SourceType     | [SourceType](/services/playfab/api-references/events/data-types/sourcetype) | このイベントのソースのタイプ (PlayFab パートナー、その他のバックエンド、または PlayFab API から)。                                                                                                                                                                                             |
| Timestamp      | DateTime                                                                    | このイベントに関連付けられた時刻 (UTC)。                                                                                                                                                                                                                                   |


## Related topics

- [PlayFab の PlayStream イベント モデル リファレンス](/ja-jp/services/playfab/api-references/events/index.md)
- [character_consumed_item](/ja-jp/services/playfab/api-references/events/Character/character-consumed-item.md)
- [player_vc_item_purchased](/ja-jp/services/playfab/api-references/events/Player/player-vc-item-purchased.md)
- [player_inventory_item_added](/ja-jp/services/playfab/api-references/events/Player/player-inventory-item-added.md)
- [player_redeemed_coupon](/ja-jp/services/playfab/api-references/events/Player/player-redeemed-coupon.md)
