mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 15:27:21 +01:00
rebuild PlayerManager to CacheCreationService and optimize creation of the local file cache
This commit is contained in:
parent
86549b2d3f
commit
ede62fabae
23 changed files with 461 additions and 737 deletions
|
|
@ -59,7 +59,6 @@ public sealed class Plugin : IDalamudPlugin
|
|||
collection.AddSingleton<PairManager>();
|
||||
collection.AddSingleton<ApiController>();
|
||||
collection.AddSingleton<PeriodicFileScanner>();
|
||||
collection.AddSingleton<FileReplacementFactory>();
|
||||
collection.AddSingleton<MareCharaFileManager>();
|
||||
collection.AddSingleton<NotificationService>();
|
||||
|
||||
|
|
@ -70,9 +69,9 @@ public sealed class Plugin : IDalamudPlugin
|
|||
collection.AddSingleton<IntroUi>();
|
||||
collection.AddSingleton<DownloadUi>();
|
||||
|
||||
collection.AddScoped<CacheCreationService>();
|
||||
collection.AddScoped<TransientResourceManager>();
|
||||
collection.AddScoped<CharacterDataFactory>();
|
||||
collection.AddScoped<PlayerManager>();
|
||||
collection.AddScoped<OnlinePlayerManager>();
|
||||
|
||||
var serviceProvider = collection.BuildServiceProvider(new ServiceProviderOptions() { ValidateOnBuild = true, ValidateScopes = true });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue