Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /// <summary>
- /// Executes an Azure Function with the profile of the entity that is defined in the request.
- /// </summary>
- [Serializable]
- public class ExecuteFunctionRequest : PlayFabRequestCommon
- {
- /// <summary>
- /// The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).
- /// </summary>
- public Dictionary<string,string> CustomTags;
- /// <summary>
- /// The optional entity to perform this action on. Defaults to the currently logged in entity.
- /// </summary>
- public EntityKey Entity;
- /// <summary>
- /// The name of the CloudScript function to execute
- /// </summary>
- public string FunctionName;
- /// <summary>
- /// Object that is passed in to the function as the FunctionArgument field of the FunctionExecutionContext data structure
- /// </summary>
- public object FunctionParameter; <--------------- I put my request object there.
- /// <summary>
- /// Generate a 'entity_executed_cloudscript_function' 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.
- /// </summary>
- public bool? GeneratePlayStreamEvent;
- }
Add Comment
Please, Sign In to add comment