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

# items_added

> ItemsAdded イベント。

インベントリにアイテムが追加されたときに発生するイベント。

## Properties

| Name | Type | Description |
| :- | :- | :- |
| TransactionId | String | トランザクション ID。 |
| CollectionId | String | コレクション ID。 |
| ItemId | String | アイテム ID。 |
| StackId | String | スタック ID。 |
| Amount | int? | 追加されたアイテムの数量。 |
| DurationInSeconds | long? | 追加されたアイテムの継続時間。 |
| ItemType | String | トランザクションで変更されたカタログ アイテムのタイプ。 |
| Balance | int? | トランザクションの結果として変更されたアイテムの残高。 |

## Common Properties

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

| Name | Type | Description |
| :- | :- | :- |
| SchemaVersion | String | セマンティック バージョニング スキームに従った PlayStream イベント形式のバージョン。 |
| FullName | [Object](https://docs.xbox.com/ja-jp/services/playfab/api-references/events/data-types/fullnameobject.md) | イベント タイプを完全に指定するためのイベント名とイベント名前空間の組み合わせ。 |
| Id | String | このイベントに対して PlayFab から割り当てられた一意の識別子。 |
| Timestamp | DateTime | このイベントに関連付けられた時刻 (UTC)。 |
| Entity | [Object](https://docs.xbox.com/ja-jp/services/playfab/api-references/events/data-types/entityobject.md) | このイベントが適用されるエンティティに関する詳細 (エンティティ ID とエンティティ タイプを含む)。 |
| Originator | [Object](https://docs.xbox.com/ja-jp/services/playfab/api-references/events/data-types/originatorobject.md) | このイベントを開始したソースおよびソース タイプを説明するオブジェクト。 |
| PayloadContentType | String | イベント ペイロードの内容を指定します。既定値は "JSON" です。 |
| Origin Info | Object | PlayFab の外部から発生したイベントに関する情報を含むオプション フィールド。 |


## Related topics

- [PlayStream イベント モデル リファレンス](https://docs.xbox.com/ja-jp/services/playfab/api-references/events/index.md)
- [player_inventory_item_added](https://docs.xbox.com/ja-jp/services/playfab/api-references/events/Player/player-inventory-item-added.md)
- [character_inventory_item_added](https://docs.xbox.com/ja-jp/services/playfab/api-references/events/Character/character-inventory-item-added.md)
- [Update Catalog Items](https://docs.xbox.com/api-reference/title-wide-data-management/update-catalog-items.md)
- [Set Catalog Items](https://docs.xbox.com/api-reference/title-wide-data-management/set-catalog-items.md)
