mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2025-12-16 06:20:34 +00:00
Misc
This commit is contained in:
@@ -57,9 +57,9 @@ public static class PluginsCore {
|
||||
internal static bool HasCustomPluginsLoaded => ActivePlugins.Any(static plugin => plugin is not OfficialPlugin officialPlugin || !officialPlugin.HasSameVersion());
|
||||
|
||||
[ImportMany]
|
||||
internal static FrozenSet<IPlugin> ActivePlugins { get; private set; } = FrozenSet<IPlugin>.Empty;
|
||||
internal static FrozenSet<IPlugin> ActivePlugins { get; private set; } = [];
|
||||
|
||||
private static FrozenSet<IPluginUpdates> ActivePluginUpdates = FrozenSet<IPluginUpdates>.Empty;
|
||||
private static FrozenSet<IPluginUpdates> ActivePluginUpdates = [];
|
||||
|
||||
[PublicAPI]
|
||||
public static async Task<ICrossProcessSemaphore> GetCrossProcessSemaphore(string objectName) {
|
||||
|
||||
@@ -32,7 +32,7 @@ internal sealed class StoreUserData {
|
||||
[JsonInclude]
|
||||
[JsonPropertyName("rgOwnedPackages")]
|
||||
[JsonRequired]
|
||||
internal ImmutableHashSet<uint> OwnedPackages { get; private init; } = ImmutableHashSet<uint>.Empty;
|
||||
internal ImmutableHashSet<uint> OwnedPackages { get; private init; } = [];
|
||||
|
||||
[JsonConstructor]
|
||||
private StoreUserData() { }
|
||||
|
||||
Reference in New Issue
Block a user