Push changes

This commit is contained in:
Yury
2025-02-24 01:06:32 +02:00
parent 1bfb16539f
commit 280b87314c
126 changed files with 5935 additions and 1265 deletions
@@ -4,9 +4,9 @@ namespace Prospect.Server.Api.Services.CloudScript.Models.Data;
public class FYActiveContractPlayerData
{
[JsonPropertyName("contractId")]
public string ContractId { get; set; } = null!;
[JsonPropertyName("contractId")]
public string ContractID { get; set; } = null!;
[JsonPropertyName("progress")]
public List<int> Progress { get; set; } = null!;
public int[] Progress { get; set; } = null!;
}
@@ -6,7 +6,4 @@ public class FYFactionContractData
{
[JsonPropertyName("contractId")]
public string ContractId { get; set; } = null!;
[JsonPropertyName("contractIsLockedDueToLowFactionReputation")]
public bool ContractIsLockedDueToLowFactionReputation { get; set; }
}
@@ -0,0 +1,11 @@
using System.Text.Json.Serialization;
using Prospect.Server.Api.Services.CloudScript.Models.Data;
public class FYTechTreeNodeStatus {
[JsonPropertyName("nodeId")]
public string NodeID { get; set; }
[JsonPropertyName("level")]
public int Level { get; set; }
[JsonPropertyName("upgradeStartedTime")]
public FYTimestamp UpgradeStartedTime { get; set; }
};
@@ -5,14 +5,20 @@ namespace Prospect.Server.Api.Services.CloudScript.Models.Data;
public class FYVivoxJoinTokenRequest
{
[JsonPropertyName("userName")]
public string? Username { get; set; }
public string Username { get; set; }
[JsonPropertyName("channel")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? Channel { get; set; }
// TODO: channelType
// TODO: hasText
// TODO: hasAudio
// TODO: channelId
public string Channel { get; set; }
[JsonPropertyName("hasText")]
public bool HasText { get; set; }
[JsonPropertyName("hasAudio")]
public bool HasAudio { get; set; }
[JsonPropertyName("channelType")]
public int ChannelType { get; set; }
[JsonPropertyName("channelId")]
public string ChannelID { get; set; }
}