fix typing

This commit is contained in:
CWX
2025-01-14 17:22:32 +00:00
parent d147d81701
commit 1c93a6eaaf
3 changed files with 7 additions and 7 deletions
@@ -1,12 +1,12 @@
using System.Text.Json.Serialization;
using System.Text.Json.Serialization;
namespace Core.Models.Eft.Bot;
public class RandomisedBotLevelResult
{
[JsonPropertyName("level")]
public double? Level { get; set; }
public int? Level { get; set; }
[JsonPropertyName("exp")]
public double? Exp { get; set; }
public int? Exp { get; set; }
}
+2 -2
View File
@@ -1,4 +1,4 @@
using Core.Models.Eft.Common.Tables;
using Core.Models.Eft.Common.Tables;
using Core.Models.Eft.Hideout;
namespace Core.Models.Eft.Common;
@@ -1255,7 +1255,7 @@ public class Level
public class ExpTable
{
[JsonPropertyName("exp")]
public double? Experience { get; set; }
public int? Experience { get; set; }
}
public class LootAttempt