Use EarlyLoadedService for anything that is not mandatory for kicking off plugin loader

This commit is contained in:
Soreepeong 2024-04-07 21:53:23 +09:00
parent 532781308d
commit 7f5ef03917
43 changed files with 133 additions and 74 deletions

View file

@ -23,7 +23,8 @@ namespace Dalamud.Storage.Assets;
/// A concrete class for <see cref="IDalamudAssetManager"/>.
/// </summary>
[PluginInterface]
[ServiceManager.BlockingEarlyLoadedService]
[ServiceManager.BlockingEarlyLoadedService(
"Ensuring that it is worth continuing loading Dalamud, by checking if all required assets are properly available.")]
#pragma warning disable SA1015
[ResolveVia<IDalamudAssetManager>]
#pragma warning restore SA1015