C# Class PlayFab.ClientModels.ExecuteCloudScriptRequest

Inheritance: PlayFabRequestCommon
Show file Open project: PlayFab/PlayFabGameServer Class Usage Examples

Public Properties

Property Type Description
FunctionName string
FunctionParameter object
GeneratePlayStreamEvent bool?
RevisionSelection CloudScriptRevisionOption?
SpecificRevision int?

Property Details

FunctionName public property

The name of the CloudScript function to execute
public string FunctionName
return string

FunctionParameter public property

Object that is passed in to the function as the first argument
public object FunctionParameter
return object

GeneratePlayStreamEvent public property

Generate a 'player_executed_cloudscript' PlayStream event containing the results of the function execution and other contextual information. This event will show up in the PlayStream debugger console for the player in Game Manager.
public bool? GeneratePlayStreamEvent
return bool?

RevisionSelection public property

Option for which revision of the CloudScript to execute. 'Latest' executes the most recently created revision, 'Live' executes the current live, published revision, and 'Specific' executes the specified revision. The default value is 'Specific', if the SpeificRevision parameter is specified, otherwise it is 'Live'.
public CloudScriptRevisionOption? RevisionSelection
return CloudScriptRevisionOption?

SpecificRevision public property

The specivic revision to execute, when RevisionSelection is set to 'Specific'
public int? SpecificRevision
return int?