Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Executes a CloudScript function, with the 'currentPlayerId' set to the PlayFab ID of the authenticated player. The PlayFab ID is the entity ID of the player's master_player_account entity.
Syntax
HRESULT PFCloudScriptClientExecuteCloudScriptAsync(
PFEntityHandle entityHandle,
const PFCloudScriptExecuteCloudScriptRequest* request,
XAsyncBlock* async
)
Parameters
entityHandle PFEntityHandle
PFEntityHandle to use for authentication.
request PFCloudScriptExecuteCloudScriptRequest*
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. When the asynchronous task is complete, call PFCloudScriptClientExecuteCloudScriptGetResultSize and PFCloudScriptClientExecuteCloudScriptGetResult to get the result.
Requirements
Header: PFCloudScript.h