Initial commit
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
<Project Sdk="Dalamud.NET.Sdk/12.0.2">
|
||||
<PropertyGroup>
|
||||
<Version>1.0.0.0</Version>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"Name": "AetherBags",
|
||||
"Author": "",
|
||||
"Description": "",
|
||||
"Punchline": ""
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
using Dalamud.Plugin;
|
||||
using Dalamud.Game.Command;
|
||||
|
||||
namespace AetherBags;
|
||||
|
||||
public class Plugin : IDalamudPlugin
|
||||
{
|
||||
public const string CommandName = "/aetherbags";
|
||||
|
||||
public Plugin(IDalamudPluginInterface pluginInterface)
|
||||
{
|
||||
pluginInterface.Create<Services>();
|
||||
|
||||
Services.CommandManager.AddHandler(CommandName, new CommandInfo(this.OnCommand)
|
||||
{
|
||||
HelpMessage = ""
|
||||
});
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
Services.CommandManager.RemoveHandler(CommandName);
|
||||
}
|
||||
|
||||
private void OnCommand(string command, string args)
|
||||
{
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
using Dalamud.IoC;
|
||||
using Dalamud.Plugin;
|
||||
using Dalamud.Plugin.Services;
|
||||
|
||||
namespace AetherBags;
|
||||
|
||||
public class Services
|
||||
{
|
||||
[PluginService] public static IDalamudPluginInterface PluginInterface { get; private set; } = null!;
|
||||
[PluginService] public static ICommandManager CommandManager { get; private set; } = null!;
|
||||
}
|
||||
Reference in New Issue
Block a user