From 79b528cdeef47a3665e26efa3309c699531898f7 Mon Sep 17 00:00:00 2001 From: JustArchi Date: Thu, 11 Apr 2019 22:52:03 +0200 Subject: [PATCH] Do not serialize plugin API objects in IPC API --- ArchiSteamFarm/Bot.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ArchiSteamFarm/Bot.cs b/ArchiSteamFarm/Bot.cs index 110851324..ebe7d5a65 100755 --- a/ArchiSteamFarm/Bot.cs +++ b/ArchiSteamFarm/Bot.cs @@ -63,18 +63,22 @@ namespace ArchiSteamFarm { private static readonly SemaphoreSlim BotsSemaphore = new SemaphoreSlim(1, 1); private static readonly SemaphoreSlim LoginSemaphore = new SemaphoreSlim(1, 1); + [JsonIgnore] [PublicAPI] public readonly Actions Actions; + [JsonIgnore] [PublicAPI] public readonly ArchiLogger ArchiLogger; + [JsonIgnore] [PublicAPI] public readonly ArchiWebHandler ArchiWebHandler; [JsonProperty] public readonly string BotName; + [JsonIgnore] [PublicAPI] public readonly Commands Commands;