mirror of
https://github.com/JustArchiNET/ArchiSteamFarm
synced 2024-11-10 07:04:27 +00:00
Bring back deprecated function
This commit is contained in:
parent
f87b63d6ee
commit
62e786b9b8
1 changed files with 4 additions and 0 deletions
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue