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

> player_triggered_action_executed_cloudscript イベント。

このイベントは、PlayStream アクションの結果として CloudScript 関数が実行され、「結果を PlayStream イベントとして公開する」ボックスがオンになっていたときにトリガーされます。

## Properties

| Name                       | Type                                                                                                    | Description                                              |
| :------------------------- | :------------------------------------------------------------------------------------------------------ | :------------------------------------------------------- |
| CloudScriptExecutionResult | [ExecuteCloudScriptResult](/services/playfab/api-references/events/data-types/executecloudscriptresult) | CloudScript 関数の結果 (エラー情報を含む)。デバッグに役立ちます。                 |
| FunctionName               | String                                                                                                  | 呼び出された CloudScript 関数の名前。                                |
| TitleId                    | String                                                                                                  | このプレイヤー イベントが適用されるタイトルの ID。                              |
| TriggeringEventData        | object                                                                                                  | この CloudScript 関数の実行をトリガーしたイベントの完全な JSON データ。デバッグに役立ちます。 |
| TriggeringEventName        | String                                                                                                  | この CloudScript 関数の実行をトリガーしたイベントの名前。                      |
| TriggeringPlayer           | [PlayerProfile](/services/playfab/api-references/events/data-types/playerprofile)                       | この CloudScript 関数の実行をトリガーしたプレイヤーの JSON データ プロファイル。       |

## 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)
- [player_triggered_action_executed_function](/ja-jp/services/playfab/api-references/events/Functions/player-triggered-action-executed-function.md)
- [player_action_executed](/ja-jp/services/playfab/api-references/events/Player/player-action-executed.md)
- [player_executed_cloudscript](/ja-jp/services/playfab/api-references/events/CloudScript/player-executed-cloudscript.md)
- [cloudscript_executed](/ja-jp/services/playfab/api-references/events/CloudScript/cloudscript-executed.md)
