refactor: remove unused imports

This commit is contained in:
Anna 2020-07-29 12:30:14 -04:00
parent de0168e5d0
commit 3f229724bc
Signed by: anna
GPG Key ID: 0B391D8F06FCD9E0
4 changed files with 2 additions and 9 deletions

View File

@ -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]

View File

@ -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;

View File

@ -1,5 +1,4 @@
using Dalamud.Plugin; using Dalamud.Plugin;
using System;
namespace HudSwap { namespace HudSwap {
public class HudSwapPlugin : IDalamudPlugin { public class HudSwapPlugin : IDalamudPlugin {

View File

@ -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 {