Fixed boxing issue

This commit is contained in:
Chomp
2025-07-08 15:33:14 +01:00
parent 85138ce0fc
commit f8a143544a
2 changed files with 3 additions and 2 deletions
@@ -1,4 +1,5 @@
using System.Text.Json.Serialization;
using SPTarkov.Server.Core.Models.Common;
namespace SPTarkov.Server.Core.Models.Eft.Ws;
@@ -12,5 +13,5 @@ public record WsNotificationEvent
public NotificationEventType? EventType { get; set; }
[JsonPropertyName("eventId")]
public string? EventIdentifier { get; set; }
public MongoId EventIdentifier { get; set; }
}
@@ -15,7 +15,7 @@ public record SendMessageDetails
/// Player id
/// </summary>
[JsonPropertyName("recipientId")]
public string? RecipientId { get; set; }
public MongoId RecipientId { get; set; }
/// <summary>
/// Who is sending this message