Skip to main content
Cloud Script is one of PlayFab’s most versatile features. It allows client code to request execution of any kind of custom server-side functionality you can implement, and it can be used in conjunction with virtually anything.

Syntax

Parameters

entityHandle   PFEntityHandle PFEntityHandle to use for authentication. request   PFCloudScriptExecuteEntityCloudScriptRequest* Populated request object. async   XAsyncBlock*
Inout
XAsyncBlock for the async operation.

Return value

Type: HRESULT Result code for this API operation.

Remarks

This API is available on all platforms. Executes CloudScript with the entity profile that is defined in the request. When the asynchronous task is complete, call PFCloudScriptExecuteEntityCloudScriptGetResultSize and PFCloudScriptExecuteEntityCloudScriptGetResult to get the result.

Requirements

Header: PFCloudScript.h

See also

PFCloudScript members
Last modified on August 3, 2026