26 lines
599 B
C#
26 lines
599 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; set; }
|
|
|
|
[JsonPropertyName("Time")]
|
|
public double? Time { get; set; }
|
|
|
|
[JsonPropertyName("Text")]
|
|
public string? Text { get; set; }
|
|
}
|