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

> player_updated_membership イベント。

このイベントは、プレイヤーのメンバーシップが更新されたときにトリガーされます。

## Properties

| Name                    | Type                                                                                      | Description                   |
| :---------------------- | :---------------------------------------------------------------------------------------- | :---------------------------- |
| MembershipId            | String                                                                                    | メンバーシップの一意識別子。                |
| MembershipName          | String                                                                                    | メンバーシップの名前。                   |
| MembershipValue         | [PlayerMemberships](/services/playfab/api-references/events/data-types/playermemberships) | 更新後の現在のメンバーシップの値。             |
| PreviousMembershipValue | [PlayerMemberships](/services/playfab/api-references/events/data-types/playermemberships) | 更新前のメンバーシップの値。                |
| SetViaOverride          | Boolean                                                                                   | メンバーシップがオーバーライドによって設定されたかどうか。 |
| TitleId                 | String                                                                                    | このプレイヤー イベントが適用されるタイトルの ID。   |
| UpdatedSubscription     | [Subscriptions](/services/playfab/api-references/events/data-types/subscriptions)         | 更新されたサブスクリプション。               |

## 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)
- [PlayerMemberships](/ja-jp/services/playfab/api-references/events/data-types/playermemberships.md)
- [player_updated_contact_email](/ja-jp/services/playfab/api-references/events/PlayerIdentity/player-updated-contact-email.md)
- [player_updated_login_email](/ja-jp/services/playfab/api-references/events/PlayerIdentity/player-updated-login-email.md)
- [Lobby.MembershipLock](/ja-jp/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/Lobby/MembershipLock.md)
