Varstahl / ECommons

A library for Dalamud

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About ECommons

ECommons is a multi-functional library designed to work within Dalamud Plugins. It features a variety of different systems and shortcuts which cuts out a lot of boiler plate code normally used to do standard plugin tasks.

Getting Started

Add ECommons as a submodule to your project:
git submodule add https://github.com/NightmareXIV/ECommons.git

Add it to your plugin's CSProj file:

<ItemGroup>
    <ProjectReference Include="..\ECommons\ECommons\ECommons.csproj" />
</ItemGroup>

Then, in the entry point of your plugin:

ECommonsMain.Init(pluginInterface, this);

where pluginInterface is a DalamudPluginInterface.

Using Modules

ECommons comes with various modules which needs to be initalised at plugin runtime. To do so, modify your initalising code as follows:
ECommonsMain.Init(pluginInterface, this, Modules.<Module>);

where <Module> is one of the following:

  • All (For all modules)
  • Localization
  • SplatoonAPI
  • DalamudReflector
  • ObjectLife
  • ObjectFunctions

About

A library for Dalamud

License:GNU Affero General Public License v3.0


Languages

Language:C# 100.0%