-
Notifications
You must be signed in to change notification settings - Fork 11
/
Service.cs
50 lines (36 loc) · 1.41 KB
/
Service.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
using Dalamud.IoC;
using Dalamud.Plugin;
using Dalamud.Plugin.Services;
namespace DeathRecap;
#pragma warning disable 8618
// ReSharper disable UnusedAutoPropertyAccessor.Local
internal class Service {
[PluginService]
internal static IDalamudPluginInterface PluginInterface { get; private set; }
[PluginService]
internal static ICommandManager CommandManager { get; private set; }
[PluginService]
internal static IDataManager DataManager { get; private set; }
[PluginService]
internal static ITextureProvider TextureProvider { get; private set; }
[PluginService]
internal static IChatGui ChatGui { get; private set; }
[PluginService]
internal static IObjectTable ObjectTable { get; private set; }
[PluginService]
internal static IPartyList PartyList { get; private set; }
[PluginService]
internal static ICondition Condition { get; private set; }
[PluginService]
internal static IClientState ClientState { get; private set; }
[PluginService]
internal static IFramework Framework { get; private set; }
[PluginService]
internal static IPluginLog PluginLog { get; private set; }
[PluginService]
internal static IGameInteropProvider GameInteropProvider { get; private set; }
internal static void Initialize(IDalamudPluginInterface pluginInterface) {
pluginInterface.Create<Service>();
}
}
#pragma warning restore 8618