mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 19:17:22 +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
|
|
@ -94,8 +94,8 @@ public class MarePlugin : MediatorSubscriberBase, IDisposable
|
|||
|
||||
_runtimeServiceScope?.Dispose();
|
||||
_runtimeServiceScope = _serviceProvider.CreateScope();
|
||||
_runtimeServiceScope.ServiceProvider.GetRequiredService<CacheCreationService>();
|
||||
_runtimeServiceScope.ServiceProvider.GetRequiredService<TransientResourceManager>();
|
||||
_runtimeServiceScope.ServiceProvider.GetRequiredService<PlayerManager>();
|
||||
_runtimeServiceScope.ServiceProvider.GetRequiredService<OnlinePlayerManager>();
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue