Add more CloudScript functions, start of EnterMatchmaking

This commit is contained in:
AeonLucid
2022-01-07 22:29:20 +01:00
parent 27649724c8
commit 93926eedf8
58 changed files with 1004 additions and 299 deletions
@@ -18,5 +18,5 @@ public class FEntityKey
// Not in PlayFab SDK
[JsonPropertyName("TypeString")]
public string TypeString { get; set; } = null!;
public string? TypeString { get; set; } = null!;
}
@@ -18,12 +18,12 @@ public class FExecuteFunctionRequest
[JsonPropertyName("Entity")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public FEntityKey? Entity { get; set; }
/// <summary>
/// The name of the CloudScript function to execute
/// </summary>
[JsonPropertyName("FunctionName")]
public string? FunctionName { get; set; }
public string FunctionName { get; set; } = null!;
/// <summary>
/// [optional] Object that is passed in to the function as the FunctionArgument field of the FunctionExecutionContext data structure
@@ -38,5 +38,5 @@ public class FExecuteFunctionRequest
/// </summary>
[JsonPropertyName("GeneratePlayStreamEvent")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? GeneratePlayStreamEvent { get; set; }
public bool GeneratePlayStreamEvent { get; set; }
}