Type changes for "Time" to long or double

This commit is contained in:
CWX
2025-01-25 14:42:59 +00:00
parent 99994a69bd
commit 9c3aab4271
10 changed files with 14 additions and 14 deletions
@@ -274,7 +274,7 @@ public record LocationBase
public LocationEvents? Events { get; set; }
[JsonPropertyName("exit_access_time")]
public int? ExitAccessTime { get; set; }
public double? ExitAccessTime { get; set; }
[JsonPropertyName("ForceOnlineRaidInPVE")]
public bool? ForceOnlineRaidInPVE { get; set; }
@@ -286,7 +286,7 @@ public record LocationBase
public int? ExitCount { get; set; }
[JsonPropertyName("exit_time")]
public int? ExitTime { get; set; }
public double? ExitTime { get; set; }
[JsonPropertyName("exits")]
public List<Exit>? Exits { get; set; }
@@ -361,7 +361,7 @@ public record Transit
public string? Target { get; set; }
[JsonPropertyName("time")]
public int? Time { get; set; }
public long? Time { get; set; }
}
public record NonWaveGroupScenario
@@ -628,7 +628,7 @@ public record MinPlayerWaitTime
public int? MinPlayers { get; set; }
[JsonPropertyName("time")]
public int? Time { get; set; }
public long? Time { get; set; }
}
public record Preview
@@ -257,7 +257,7 @@ public record QuestCondition
public QuestConditionCounter? Counter { get; set; }
[JsonPropertyName("plantTime")]
public int? PlantTime { get; set; }
public double? PlantTime { get; set; }
[JsonPropertyName("zoneId")]
public string? ZoneId { get; set; }
@@ -266,7 +266,7 @@ public record QuestCondition
public bool? CountInRaid { get; set; }
[JsonPropertyName("completeInSeconds")]
public int? CompleteInSeconds { get; set; }
public double? CompleteInSeconds { get; set; }
[JsonPropertyName("isEncoded")]
public bool? IsEncoded { get; set; }
@@ -12,5 +12,5 @@ public record OffraidEatRequestData : BaseInteractionRequestData
public int? Count { get; set; }
[JsonPropertyName("time")]
public int? Time { get; set; }
public long? Time { get; set; }
}
@@ -7,7 +7,7 @@ public record OffraidHealRequestData : BaseInteractionRequestData
public string? Item { get; set; }
public BodyPart? Part { get; set; }
public int? Count { get; set; }
public int? Time { get; set; }
public long? Time { get; set; }
}
public enum BodyPart
+1 -1
View File
@@ -99,7 +99,7 @@ public record QteEffect
public List<SkillLevelMultiplier>? LevelMultipliers { get; set; }
[JsonPropertyName("time")]
public int? Time { get; set; }
public long? Time { get; set; }
[JsonPropertyName("weight")]
public float? Weight { get; set; }
@@ -11,7 +11,7 @@ public record ItemEventRouterRequest : IRequestData
public List<BaseInteractionRequestData>? Data { get; set; }
[JsonPropertyName("tm")]
public int? Time { get; set; }
public long? Time { get; set; }
[JsonPropertyName("reload")]
public int? Reload { get; set; }
@@ -67,7 +67,7 @@ public record EndRaidResult
/// Seconds in raid
/// </summary>
[JsonPropertyName("playTime")]
public int? PlayTime { get; set; }
public double? PlayTime { get; set; }
}
public record LocationTransit
@@ -15,7 +15,7 @@ public record NoteActionData : BaseInteractionRequestData
public record Note
{
[JsonPropertyName("Time")]
public int? Time { get; set; }
public long? Time { get; set; }
[JsonPropertyName("Text")]
public string? Text { get; set; }
@@ -9,5 +9,5 @@ public record ExtendOfferRequestData : InventoryBaseActionRequestData
public string? OfferId { get; set; }
[JsonPropertyName("renewalTime")]
public int? RenewalTime { get; set; }
public long? RenewalTime { get; set; }
}
@@ -33,7 +33,7 @@ public class RagfairRequiredItemsService(
_requiredItemsCache.TryAdd(requirement.Template, []);
// Add matching offer
_requiredItemsCache[requirement.Template].Add(offer);
_requiredItemsCache.GetValueOrDefault(requirement.Template)?.Add(offer);
}
}
}