refactor: update dependencies
This commit is contained in:
parent
62075ac95d
commit
a6fbd39690
|
@ -54,9 +54,9 @@
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="ASodium" Version="0.5.3"/>
|
<PackageReference Include="ASodium" Version="0.5.3"/>
|
||||||
<PackageReference Include="Dalamud.ContextMenu" Version="1.0.0"/>
|
<PackageReference Include="Dalamud.ContextMenu" Version="1.1.1"/>
|
||||||
<PackageReference Include="DalamudPackager" Version="2.1.7"/>
|
<PackageReference Include="DalamudPackager" Version="2.1.7"/>
|
||||||
<PackageReference Include="MessagePack" Version="2.3.112"/>
|
<PackageReference Include="MessagePack" Version="2.4.35"/>
|
||||||
<PackageReference Include="System.Net.WebSockets.Client" Version="4.3.2"/>
|
<PackageReference Include="System.Net.WebSockets.Client" Version="4.3.2"/>
|
||||||
<PackageReference Include="System.Threading.Channels" Version="6.0.0"/>
|
<PackageReference Include="System.Threading.Channels" Version="6.0.0"/>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
|
@ -60,7 +60,7 @@ public class Plugin : IDalamudPlugin {
|
||||||
internal Client Client { get; }
|
internal Client Client { get; }
|
||||||
internal Commands Commands { get; }
|
internal Commands Commands { get; }
|
||||||
internal PluginUi PluginUi { get; }
|
internal PluginUi PluginUi { get; }
|
||||||
internal DalamudContextMenuBase ContextMenu { get; }
|
internal DalamudContextMenu ContextMenu { get; }
|
||||||
internal GameFunctions GameFunctions { get; }
|
internal GameFunctions GameFunctions { get; }
|
||||||
internal Ipc Ipc { get; }
|
internal Ipc Ipc { get; }
|
||||||
private IDisposable[] Integrations { get; }
|
private IDisposable[] Integrations { get; }
|
||||||
|
@ -85,7 +85,7 @@ public class Plugin : IDalamudPlugin {
|
||||||
public Plugin() {
|
public Plugin() {
|
||||||
SodiumInit.Init();
|
SodiumInit.Init();
|
||||||
WorldUtil.Initialise(this.DataManager!);
|
WorldUtil.Initialise(this.DataManager!);
|
||||||
this.ContextMenu = new DalamudContextMenuBase();
|
this.ContextMenu = new DalamudContextMenu();
|
||||||
this.Config = this.Interface!.GetPluginConfig() as Configuration ?? new Configuration();
|
this.Config = this.Interface!.GetPluginConfig() as Configuration ?? new Configuration();
|
||||||
this.Client = new Client(this);
|
this.Client = new Client(this);
|
||||||
this.Commands = new Commands(this);
|
this.Commands = new Commands(this);
|
||||||
|
@ -98,13 +98,13 @@ public class Plugin : IDalamudPlugin {
|
||||||
};
|
};
|
||||||
|
|
||||||
this.Framework!.Update += this.FrameworkUpdate;
|
this.Framework!.Update += this.FrameworkUpdate;
|
||||||
this.ContextMenu.Functions.ContextMenu.OnOpenGameObjectContextMenu += this.OnOpenGameObjectContextMenu;
|
this.ContextMenu.OnOpenGameObjectContextMenu += this.OnOpenGameObjectContextMenu;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Dispose() {
|
public void Dispose() {
|
||||||
this.GameFunctions.ResetOverride();
|
this.GameFunctions.ResetOverride();
|
||||||
|
|
||||||
this.ContextMenu.Functions.ContextMenu.OnOpenGameObjectContextMenu -= this.OnOpenGameObjectContextMenu;
|
this.ContextMenu.OnOpenGameObjectContextMenu -= this.OnOpenGameObjectContextMenu;
|
||||||
this.Framework.Update -= this.FrameworkUpdate;
|
this.Framework.Update -= this.FrameworkUpdate;
|
||||||
this._localPlayerLock.Dispose();
|
this._localPlayerLock.Dispose();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue