Expanded ClientLogController implementation

This commit is contained in:
Chomp
2025-01-12 15:40:28 +00:00
parent bb887b0901
commit efaa85a44f
2 changed files with 47 additions and 4 deletions
+4 -3
View File
@@ -1,4 +1,5 @@
using System.Text.Json.Serialization;
using System.Text.Json.Serialization;
using Core.Models.Logging;
using Core.Models.Utils;
namespace Core.Models.Spt.Logging;
@@ -15,8 +16,8 @@ public class ClientLogRequest : IRequestData
public string? Message { get; set; }
[JsonPropertyName("Color")]
public string? Color { get; set; }
public LogTextColor? Color { get; set; }
[JsonPropertyName("BackgroundColor")]
public string? BackgroundColor { get; set; }
public LogBackgroundColor? BackgroundColor { get; set; }
}