Files
SPT-Server-Build/Libraries/SPTarkov.Server.Core/Models/Eft/Notes/NoteActionRequest.cs
T

26 lines
605 B
C#

using System.Text.Json.Serialization;
using SPTarkov.Server.Core.Models.Eft.Common.Request;
namespace SPTarkov.Server.Core.Models.Eft.Notes;
public record NoteActionRequest : BaseInteractionRequestData
{
[JsonPropertyName("index")]
public int? Index { get; set; }
[JsonPropertyName("note")]
public Note? Note { get; set; }
}
public record Note
{
[JsonExtensionData]
public Dictionary<string, object> ExtensionData { get; init; } = [];
[JsonPropertyName("Time")]
public double? Time { get; set; }
[JsonPropertyName("Text")]
public string? Text { get; set; }
}