25 lines
489 B
C#
25 lines
489 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace SPTarkov.Server.Core.Models.Eft.Ws;
|
|
|
|
public record WsNotificationEvent
|
|
{
|
|
[JsonExtensionData]
|
|
public Dictionary<string, object> ExtensionData { get; set; }
|
|
|
|
[JsonPropertyName("type")]
|
|
[JsonConverter(typeof(JsonStringEnumConverter))]
|
|
public NotificationEventType? EventType
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
[JsonPropertyName("eventId")]
|
|
public string? EventIdentifier
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
}
|