2024-01-08 08:53:35 +00:00
|
|
|
|
using EFT;
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
2024-05-21 19:10:17 +01:00
|
|
|
|
namespace SPT.SinglePlayer.Utils.TraderServices
|
2024-01-08 08:53:35 +00:00
|
|
|
|
{
|
|
|
|
|
public class TraderServiceModel
|
|
|
|
|
{
|
|
|
|
|
[JsonProperty("serviceType")]
|
|
|
|
|
public ETraderServiceType ServiceType { get; set; }
|
|
|
|
|
|
|
|
|
|
[JsonProperty("itemsToPay")]
|
2024-02-12 09:22:45 +00:00
|
|
|
|
public Dictionary<MongoID, int> ItemsToPay { get; set; }
|
2024-01-08 08:53:35 +00:00
|
|
|
|
|
|
|
|
|
[JsonProperty("subServices")]
|
|
|
|
|
public Dictionary<string, int> SubServices { get; set; }
|
2024-02-12 09:22:45 +00:00
|
|
|
|
|
|
|
|
|
[JsonProperty("itemsToReceive")]
|
|
|
|
|
public MongoID[] ItemsToReceive { get; set; }
|
2024-02-25 23:08:20 +00:00
|
|
|
|
|
|
|
|
|
[JsonProperty("requirements")]
|
|
|
|
|
public TraderServiceRequirementsModel Requirements { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class TraderServiceRequirementsModel
|
|
|
|
|
{
|
|
|
|
|
[JsonProperty("completedQuests")]
|
|
|
|
|
public string[] CompletedQuests { get; set; }
|
|
|
|
|
|
|
|
|
|
[JsonProperty("standings")]
|
|
|
|
|
public Dictionary<string, float> Standings { get; set; }
|
|
|
|
|
|
|
|
|
|
[JsonProperty("side")]
|
|
|
|
|
public ESideType Side { get; set; }
|
2024-01-08 08:53:35 +00:00
|
|
|
|
}
|
2024-01-15 09:09:31 +00:00
|
|
|
|
}
|