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

# PFCloudScriptExecuteFunctionRequest

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

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

## 構文

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

### メンバー

**`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)

(省略可) FunctionExecutionContext データ構造の FunctionArgument フィールドとして、関数に渡されるオブジェクト。

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

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

## 要件

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

## 関連項目

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


## Related topics

- [PFCloudScriptExecuteFunctionAsync](/ja-jp/services/playfab/api-references/c/pfcloudscript/functions/pfcloudscriptexecutefunctionasync.md)
- [Services C API overview - PFCloudScriptTypes.h](/ja-jp/services/playfab/api-references/c/pfcloudscripttypes/pfcloudscripttypes_members.md)
- [PFCloudScriptExecuteCloudScriptRequest](/ja-jp/services/playfab/api-references/c/pfcloudscripttypes/structs/pfcloudscriptexecutecloudscriptrequest.md)
- [PFCloudScriptExecuteCloudScriptServerRequest](/ja-jp/services/playfab/api-references/c/pfcloudscripttypes/structs/pfcloudscriptexecutecloudscriptserverrequest.md)
- [PFCloudScriptExecuteEntityCloudScriptRequest](/ja-jp/services/playfab/api-references/c/pfcloudscripttypes/structs/pfcloudscriptexecuteentitycloudscriptrequest.md)
