refactor: remove unused imports

This commit is contained in:
Anna 2020-07-29 12:30:14 -04:00
parent e50d187702
commit 8ba7416d89
4 changed files with 2 additions and 9 deletions

View File

@ -1,8 +1,6 @@
using Dalamud.Configuration;
using Dalamud.Plugin;
using System;
using System.Collections.Generic;
using System.Text;
namespace HudSwap {
[Serializable]

View File

@ -4,14 +4,13 @@ using System.Runtime.InteropServices;
namespace HudSwap {
public class HUD {
private delegate IntPtr GetFilePointerDelegate(byte index);
private delegate uint SetHudLayoutDelegate(IntPtr filePtr, uint hudLayout, byte unk0, byte unk1);
private GetFilePointerDelegate _getFilePointer;
private SetHudLayoutDelegate _setHudLayout;
private DalamudPluginInterface pi;
private readonly DalamudPluginInterface pi;
public HUD(DalamudPluginInterface pi) {
this.pi = pi;

View File

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

View File

@ -3,9 +3,7 @@ using Dalamud.Game.ClientState.Actors.Types;
using Dalamud.Plugin;
using ImGuiNET;
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Text;
namespace HudSwap {
public class PluginUI {
@ -25,6 +23,7 @@ namespace HudSwap {
public void ConfigUI(object sender, EventArgs args) {
this.SettingsVisible = true;
}
public void DrawSettings() {
if (!this.SettingsVisible) {
return;
@ -108,8 +107,6 @@ namespace HudSwap {
this.statuses.SetHudLayout(null);
}
}
}
public class Statuses {