Bring back deprecated function

This commit is contained in:
Łukasz Domeradzki 2024-07-14 21:13:26 +02:00
parent f87b63d6ee
commit 62e786b9b8
No known key found for this signature in database
GPG key ID: 6B138B4C64555AEA

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]