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

# PFCloudScriptExecuteEntityCloudScriptRequest

> PFCloudScriptExecuteEntityCloudScriptRequest データ モデル。要求で定義されたエンティティ プロファイルを使用して CloudScript を実行します。

PFCloudScriptExecuteEntityCloudScriptRequest データ モデル。要求で定義されたエンティティ プロファイルを使用して CloudScript を実行します。

## 構文

```cpp theme={null}
typedef struct PFCloudScriptExecuteEntityCloudScriptRequest {  
    PFStringDictionaryEntry const* customTags;  
    uint32_t customTagsCount;  
    PFEntityKey const* entity;  
    const char* functionName;  
    PFJsonObject functionParameter;  
    bool const* generatePlayStreamEvent;  
    PFCloudScriptCloudScriptRevisionOption const* revisionSelection;  
    int32_t const* specificRevision;  
} PFCloudScriptExecuteEntityCloudScriptRequest;  
```

### メンバー

**`customTags`**   [PFStringDictionaryEntry](/services/playfab/api-references/c/pftypes/structs/pfstringdictionaryentry) const\*<br />*may be nullptr*

(省略可) 要求に関連付けられている省略可能なカスタム タグ (ビルド番号、外部トレース識別子など)。

**`customTagsCount`**   uint32\_t

customTags の数

**`entity`**   [PFEntityKey](/services/playfab/api-references/c/pftypes/structs/pfentitykey-c) const\*<br />*may be nullptr*

(省略可) このアクションを実行する省略可能なエンティティ。既定では、現在ログインしているエンティティが指定されます。

**`functionName`**   const char\*<br />*is null-terminated*

実行する CloudScript 関数の名前。

**`functionParameter`**   [PFJsonObject](/services/playfab/api-references/c/pftypes/structs/pfjsonobject)

(省略可) 関数に最初の引数として渡されるオブジェクト。

**`generatePlayStreamEvent`**   bool const\*<br />*may be nullptr*

(省略可) 関数の実行結果とその他のコンテキスト情報を含む 'entity\_executed\_cloudscript' PlayStream イベントを生成します。このイベントは、Game Manager のプレイヤー用 PlayStream デバッガー コンソールに表示されます。

**`revisionSelection`**   [PFCloudScriptCloudScriptRevisionOption](/services/playfab/api-references/c/pfcloudscripttypes/enums/pfcloudscriptcloudscriptrevisionoption) const\*<br />*may be nullptr*

(省略可) 実行する CloudScript のリビジョンのオプション。'Latest' は最後に作成されたリビジョンを実行し、'Live' は現在ライブで公開されているリビジョンを実行し、'Specific' は指定されたリビジョンを実行します。既定値は、SpecificRevision パラメーターが指定されている場合は 'Specific'、それ以外の場合は 'Live' です。

**`specificRevision`**   int32\_t const\*<br />*may be nullptr*

(省略可) RevisionSelection が 'Specific' に設定されている場合に実行する特定のリビジョン。

## 要件

**ヘッダー:** PFCloudScriptTypes.h

## 関連項目

[PFCloudScriptTypes のメンバー](/services/playfab/api-references/c/pfcloudscripttypes/pfcloudscripttypes_members)
