mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-24 13:41:49 +01:00
refactor: remove need for AssetManager, pass asset dir via StartInfo
This commit is contained in:
parent
79bdf4464e
commit
e27ae3fd0c
6 changed files with 78 additions and 73 deletions
|
|
@ -1,6 +1,7 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Dynamic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
using System.Runtime.InteropServices;
|
||||
|
|
@ -28,6 +29,16 @@ namespace Dalamud.Plugin
|
|||
/// </summary>
|
||||
public PluginLoadReason Reason { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Get the directory Dalamud assets are stored in.
|
||||
/// </summary>
|
||||
public DirectoryInfo DalamudAssetDirectory => this.dalamud.AssetDirectory;
|
||||
|
||||
/// <summary>
|
||||
/// Get the directory your plugin configurations are stored in.
|
||||
/// </summary>
|
||||
public DirectoryInfo ConfigDirectory => new DirectoryInfo(GetPluginConfigDirectory());
|
||||
|
||||
/// <summary>
|
||||
/// The CommandManager object that allows you to add and remove custom chat commands.
|
||||
/// </summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue