More type changes

This commit is contained in:
hulkhan22
2025-04-27 01:39:21 +02:00
parent 38f561b85d
commit 871ca63aaa
5 changed files with 9 additions and 20 deletions
@@ -98657,7 +98657,7 @@
"conditionType": "Kills",
"id": "655e484b52dc506c051b4409",
"target": "AnyPmc",
"value": "1"
"value": 1
}
],
"id": "655e483da3ee7d4c56241e18"
@@ -1499,8 +1499,6 @@ public record DeathCause
public record LastPlayerState
{
private object? _equipment;
public LastPlayerStateInfo? Info
{
get;
@@ -1516,15 +1514,8 @@ public record LastPlayerState
// TODO: there is no definition on TS just any
public object? Equipment
{
get
{
return _equipment;
}
set
{
Console.WriteLine($"Equipment: {value}");
_equipment = value;
}
get;
set;
}
}
@@ -646,8 +646,6 @@ public record UpdLight
public record UpdDogtag
{
private object? _side;
[JsonPropertyName("AccountId")]
public string? AccountId
{
@@ -179,11 +179,11 @@ public record Quest
/// Becomes 'AppearStatus' inside client
/// </summary>
[JsonPropertyName("status")]
public object? Status
public int? Status
{
get;
set;
} // TODO: string | number
}
[JsonPropertyName("KeyQuest")]
public bool? KeyQuest
@@ -447,11 +447,11 @@ public record QuestCondition
}
[JsonPropertyName("type")]
public object? Type
public string? Type
{
get;
set;
} // TODO: boolean | string
}
[JsonPropertyName("status")]
public List<QuestStatusEnum>? Status
@@ -770,7 +770,7 @@ public record QuestConditionCounterCondition
}
[JsonPropertyName("value")]
public object? Value
public int? Value
{
get;
set;
+1 -1
View File
@@ -98796,7 +98796,7 @@
"conditionType": "Kills",
"id": "655e484b52dc506c051b4409",
"target": "AnyPmc",
"value": "1"
"value": 1
}
],
"id": "655e483da3ee7d4c56241e18"