refactor: remove unused imports
This commit is contained in:
parent
de0168e5d0
commit
3f229724bc
@ -1,8 +1,6 @@
|
|||||||
using Dalamud.Configuration;
|
using Dalamud.Configuration;
|
||||||
using Dalamud.Plugin;
|
using Dalamud.Plugin;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace HudSwap {
|
namespace HudSwap {
|
||||||
[Serializable]
|
[Serializable]
|
||||||
|
@ -4,14 +4,13 @@ using System.Runtime.InteropServices;
|
|||||||
|
|
||||||
namespace HudSwap {
|
namespace HudSwap {
|
||||||
public class HUD {
|
public class HUD {
|
||||||
|
|
||||||
private delegate IntPtr GetFilePointerDelegate(byte index);
|
private delegate IntPtr GetFilePointerDelegate(byte index);
|
||||||
private delegate uint SetHudLayoutDelegate(IntPtr filePtr, uint hudLayout, byte unk0, byte unk1);
|
private delegate uint SetHudLayoutDelegate(IntPtr filePtr, uint hudLayout, byte unk0, byte unk1);
|
||||||
|
|
||||||
private GetFilePointerDelegate _getFilePointer;
|
private GetFilePointerDelegate _getFilePointer;
|
||||||
private SetHudLayoutDelegate _setHudLayout;
|
private SetHudLayoutDelegate _setHudLayout;
|
||||||
|
|
||||||
private DalamudPluginInterface pi;
|
private readonly DalamudPluginInterface pi;
|
||||||
|
|
||||||
public HUD(DalamudPluginInterface pi) {
|
public HUD(DalamudPluginInterface pi) {
|
||||||
this.pi = pi;
|
this.pi = pi;
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
using Dalamud.Plugin;
|
using Dalamud.Plugin;
|
||||||
using System;
|
|
||||||
|
|
||||||
namespace HudSwap {
|
namespace HudSwap {
|
||||||
public class HudSwapPlugin : IDalamudPlugin {
|
public class HudSwapPlugin : IDalamudPlugin {
|
||||||
|
@ -3,9 +3,7 @@ using Dalamud.Game.ClientState.Actors.Types;
|
|||||||
using Dalamud.Plugin;
|
using Dalamud.Plugin;
|
||||||
using ImGuiNET;
|
using ImGuiNET;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace HudSwap {
|
namespace HudSwap {
|
||||||
public class PluginUI {
|
public class PluginUI {
|
||||||
@ -25,6 +23,7 @@ namespace HudSwap {
|
|||||||
public void ConfigUI(object sender, EventArgs args) {
|
public void ConfigUI(object sender, EventArgs args) {
|
||||||
this.SettingsVisible = true;
|
this.SettingsVisible = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void DrawSettings() {
|
public void DrawSettings() {
|
||||||
if (!this.SettingsVisible) {
|
if (!this.SettingsVisible) {
|
||||||
return;
|
return;
|
||||||
@ -108,8 +107,6 @@ namespace HudSwap {
|
|||||||
this.statuses.SetHudLayout(null);
|
this.statuses.SetHudLayout(null);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public class Statuses {
|
public class Statuses {
|
||||||
|
Loading…
Reference in New Issue
Block a user