Converted sessionIds to MongoId and renamed property to reflect what type of value it holds
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using SPTarkov.Server.Core.Models.Common;
|
||||
|
||||
namespace SPTarkov.Server.Core.Models.Eft.Inventory;
|
||||
|
||||
@@ -8,5 +9,5 @@ public record InventoryExamineRequestData : InventoryBaseActionRequestData
|
||||
public Dictionary<string, object>? ExtensionData { get; set; }
|
||||
|
||||
[JsonPropertyName("item")]
|
||||
public string? Item { get; set; }
|
||||
public MongoId ItemId { get; set; }
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using SPTarkov.Server.Core.Models.Common;
|
||||
using SPTarkov.Server.Core.Models.Eft.Common.Tables;
|
||||
using SPTarkov.Server.Core.Models.Eft.Ragfair;
|
||||
using SPTarkov.Server.Core.Models.Enums;
|
||||
@@ -15,7 +16,7 @@ public record ItemEventRouterBase
|
||||
public List<Warning>? Warnings { get; set; }
|
||||
|
||||
[JsonPropertyName("profileChanges")]
|
||||
public Dictionary<string, ProfileChange> ProfileChanges { get; set; }
|
||||
public Dictionary<MongoId, ProfileChange> ProfileChanges { get; set; }
|
||||
}
|
||||
|
||||
public record Warning
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using SPTarkov.Server.Core.Models.Common;
|
||||
using SPTarkov.Server.Core.Models.Eft.Common;
|
||||
using SPTarkov.Server.Core.Models.Eft.Common.Tables;
|
||||
|
||||
@@ -10,7 +11,7 @@ public record InsuranceEquipmentPkg
|
||||
public Dictionary<string, object>? ExtensionData { get; set; }
|
||||
|
||||
[JsonPropertyName("sessionID")]
|
||||
public string? SessionId { get; set; }
|
||||
public MongoId SessionId { get; set; }
|
||||
|
||||
[JsonPropertyName("pmcData")]
|
||||
public PmcData? PmcData { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user