Bring back deprecated function

This commit is contained in:
Łukasz Domeradzki
2024-07-14 21:13:26 +02:00
parent f87b63d6ee
commit 62e786b9b8

View File

@@ -55,6 +55,10 @@ using SteamKit2;
namespace ArchiSteamFarm.Plugins;
public static class PluginsCore {
[Obsolete("Should not be used by any third-party plugins, open issue if you need it")]
[PublicAPI]
public static int ActivePluginsCount => ActivePlugins.Count;
internal static bool HasCustomPluginsLoaded => ActivePlugins.Any(static plugin => plugin is not OfficialPlugin officialPlugin || !officialPlugin.HasSameVersion());
[ImportMany]