fixed configs missing types
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Text.Json.Serialization;
|
||||
using Core.Models.Common;
|
||||
using Core.Models.Enums;
|
||||
|
||||
namespace Core.Models.Spt.Config;
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using Core.Models.Eft.Game;
|
||||
|
||||
namespace Core.Models.Spt.Config;
|
||||
|
||||
|
||||
@@ -42,7 +42,7 @@ public class Gift
|
||||
/// Optional - supply a trader type to send from, not necessary when sending from SYSTEM or USER
|
||||
/// </summary>
|
||||
[JsonPropertyName("trader")]
|
||||
public Traders? Trader { get; set; }
|
||||
public string? Trader { get; set; }
|
||||
|
||||
[JsonPropertyName("messageText")]
|
||||
public string MessageText { get; set; }
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using Core.Models.Eft.Common;
|
||||
|
||||
namespace Core.Models.Spt.Config;
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using Core.Models.Eft.Common;
|
||||
using Core.Models.Enums;
|
||||
|
||||
namespace Core.Models.Spt.Config;
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using Core.Models.Common;
|
||||
using Core.Models.Spt.Services;
|
||||
|
||||
namespace Core.Models.Spt.Config;
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using Core.Models.Common;
|
||||
using Core.Models.Enums;
|
||||
|
||||
namespace Core.Models.Spt.Config;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user