From b5039d63081734393da8794fe9df77ec97cf88ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Domeradzki?= Date: Wed, 25 Dec 2024 14:22:24 +0100 Subject: [PATCH] Misc --- ArchiSteamFarm/Plugins/Interfaces/IPlugin.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ArchiSteamFarm/Plugins/Interfaces/IPlugin.cs b/ArchiSteamFarm/Plugins/Interfaces/IPlugin.cs index ad97b34734208..4cf212754b91e 100644 --- a/ArchiSteamFarm/Plugins/Interfaces/IPlugin.cs +++ b/ArchiSteamFarm/Plugins/Interfaces/IPlugin.cs @@ -34,6 +34,13 @@ namespace ArchiSteamFarm.Plugins.Interfaces; /// [PublicAPI] public interface IPlugin { + /// + /// Helper property which determines whether the plugin is official, mostly for IPC. + /// + [JsonInclude] + [Required] + public sealed bool IsOfficialPlugin => this is OfficialPlugin; + /// /// ASF will use this property as general plugin identifier for the user. ///