-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPlugin.cs
36 lines (27 loc) · 843 Bytes
/
Plugin.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
using Dalamud.Game;
using Dalamud.Plugin;
namespace Grebuloff.Dalamud;
public sealed class Plugin : IDalamudPlugin
{
public string Name => "Grebuloff Compatibility Layer";
public DalamudPluginInterface PluginInterface { get; private set; }
public Framework Framework { get; private set; }
public Plugin(DalamudPluginInterface pluginInterface, Framework framework)
{
PluginInterface = pluginInterface;
Framework = framework;
PluginInterface.UiBuilder.Draw += this.DrawUI;
Framework.Update += OnFrameworkUpdate;
}
private void OnFrameworkUpdate(Framework framework)
{
}
private void DrawUI()
{
}
public void Dispose()
{
Framework.Update -= OnFrameworkUpdate;
PluginInterface.UiBuilder.Draw -= this.DrawUI;
}
}