kevinfish356

Untitled

Jan 21st, 2023
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 1.38 KB | None | 0 0
  1.     /// <summary>
  2.     /// Executes an Azure Function with the profile of the entity that is defined in the request.
  3.     /// </summary>
  4.     [Serializable]
  5.     public class ExecuteFunctionRequest : PlayFabRequestCommon
  6.     {
  7.         /// <summary>
  8.         /// The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).
  9.         /// </summary>
  10.         public Dictionary<string,string> CustomTags;
  11.         /// <summary>
  12.         /// The optional entity to perform this action on. Defaults to the currently logged in entity.
  13.         /// </summary>
  14.         public EntityKey Entity;
  15.         /// <summary>
  16.         /// The name of the CloudScript function to execute
  17.         /// </summary>
  18.         public string FunctionName;
  19.         /// <summary>
  20.         /// Object that is passed in to the function as the FunctionArgument field of the FunctionExecutionContext data structure
  21.         /// </summary>
  22.         public object FunctionParameter; <--------------- I put my request object there.
  23.         /// <summary>
  24.         /// Generate a 'entity_executed_cloudscript_function' PlayStream event containing the results of the function execution and
  25.         /// other contextual information. This event will show up in the PlayStream debugger console for the player in Game Manager.
  26.         /// </summary>
  27.         public bool? GeneratePlayStreamEvent;
  28.     }
Add Comment
Please, Sign In to add comment