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

# 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](/services/playfab/api-references/events/data-types/fullnameobject)   | イベント タイプを完全に指定するためのイベント名とイベント名前空間の組み合わせ。             |
| Id                 | String                                                                        | このイベントに対して PlayFab から割り当てられた一意の識別子。                  |
| Timestamp          | DateTime                                                                      | このイベントに関連付けられた時刻 (UTC)。                              |
| Entity             | [Object](/services/playfab/api-references/events/data-types/entityobject)     | このイベントが適用されるエンティティに関する詳細 (エンティティ ID とエンティティ タイプを含む)。 |
| Originator         | [Object](/services/playfab/api-references/events/data-types/originatorobject) | このイベントを開始したソースおよびソース タイプを説明するオブジェクト。                 |
| PayloadContentType | String                                                                        | イベント ペイロードの内容を指定します。既定値は "JSON" です。                  |
| Origin Info        | Object                                                                        | PlayFab の外部から発生したイベントに関する情報を含むオプション フィールド。           |


## Related topics

- [PlayFab の PlayStream イベント モデル リファレンス](/ja-jp/services/playfab/api-references/events/index.md)
- [character_inventory_item_added](/ja-jp/services/playfab/api-references/events/Character/character-inventory-item-added.md)
- [player_inventory_item_added](/ja-jp/services/playfab/api-references/events/Player/player-inventory-item-added.md)
- [members_added](/ja-jp/services/playfab/api-references/events/Groups/members-added.md)
- [secret_added](/ja-jp/services/playfab/api-references/events/MultiplayerServers/secret-added.md)
