Updated GetFriends implementation
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using System.Text.Json.Serialization;
|
||||
using Core.Models.Eft.Game;
|
||||
|
||||
namespace Core.Models.Spt.Config;
|
||||
@@ -172,15 +172,9 @@ public class ServerFeatures
|
||||
|
||||
public class ChatbotFeatures
|
||||
{
|
||||
[JsonPropertyName("sptFriendEnabled")]
|
||||
public bool SptFriendEnabled { get; set; }
|
||||
|
||||
[JsonPropertyName("sptFriendGiftsEnabled")]
|
||||
public bool SptFriendGiftsEnabled { get; set; }
|
||||
|
||||
[JsonPropertyName("commandoEnabled")]
|
||||
public bool CommandoEnabled { get; set; }
|
||||
|
||||
[JsonPropertyName("commandoFeatures")]
|
||||
public CommandoFeatures CommandoFeatures { get; set; }
|
||||
|
||||
@@ -189,10 +183,13 @@ public class ChatbotFeatures
|
||||
|
||||
[JsonPropertyName("ids")]
|
||||
public Dictionary<string, string> Ids { get; set; }
|
||||
|
||||
[JsonPropertyName("enabledBots")]
|
||||
public Dictionary<string, bool> EnabledBots { get; set; }
|
||||
}
|
||||
|
||||
public class CommandoFeatures
|
||||
{
|
||||
[JsonPropertyName("giveCommandEnabled")]
|
||||
public bool GiveCommandEnabled { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user