using System;
using Dalamud.Game;
using Dalamud.IoC;
using Dalamud.Plugin;
using Dalamud.Plugin.Services;

namespace CrystallineConflictWinsTracker;

public class DalamudApi
{
	[PluginService]
	public static IChatGui ChatGui { get; private set; }

	[PluginService]
	public static IClientState ClientState { get; private set; }

	[PluginService]
	public static ICommandManager CommandManager { get; private set; }

	[PluginService]
	public static DalamudPluginInterface PluginInterface { get; private set; }

	[PluginService]
	public static IDataManager DataManager { get; private set; }

	[PluginService]
	public static IDtrBar DtrBar { get; private set; }

	[PluginService]
	public static IFramework Framework { get; private set; }

	[PluginService]
	public static IGameGui GameGui { get; private set; }

	[PluginService]
	public static ISigScanner SigScanner { get; private set; }

	[PluginService]
	public static IGameInteropProvider Hooks { get; private set; }

	[PluginService]
	public static IPluginLog PluginLog { get; private set; }

	public static void Initialize(DalamudPluginInterface pluginInterface)
	{
		pluginInterface.Create<DalamudApi>(Array.Empty<object>());
	}
}
