mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-15 13:14:17 +01:00
Start
This commit is contained in:
parent
9130932a7f
commit
e15d844d4b
3 changed files with 116 additions and 5 deletions
|
|
@ -29,6 +29,7 @@ public class Penumbra : IDalamudPlugin
|
|||
public static IPlayerWatcher PlayerWatcher { get; private set; } = null!;
|
||||
|
||||
public ResourceLoader ResourceLoader { get; }
|
||||
public PathResolver PathResolver { get; }
|
||||
public SettingsInterface SettingsInterface { get; }
|
||||
public MusicManager MusicManager { get; }
|
||||
public ObjectReloader ObjectReloader { get; }
|
||||
|
|
@ -53,6 +54,7 @@ public class Penumbra : IDalamudPlugin
|
|||
}
|
||||
|
||||
var gameUtils = Service< ResidentResources >.Set();
|
||||
PathResolver = new PathResolver();
|
||||
PlayerWatcher = PlayerWatchFactory.Create( Dalamud.Framework, Dalamud.ClientState, Dalamud.Objects );
|
||||
Service< MetaDefaults >.Set();
|
||||
_modManager = Service< ModManager >.Set();
|
||||
|
|
@ -190,6 +192,7 @@ public class Penumbra : IDalamudPlugin
|
|||
|
||||
Dalamud.Commands.RemoveHandler( CommandName );
|
||||
|
||||
PathResolver.Dispose();
|
||||
ResourceLoader.Dispose();
|
||||
|
||||
ShutdownWebServer();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue