42 lines
694 B
C#
42 lines
694 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;
|
|
}
|
|
}
|