mirror of
https://github.com/xivdev/Penumbra.git
synced 2026-02-21 07:17:53 +01:00
Turn Settings and Priority into their own types.
This commit is contained in:
parent
77bf441e62
commit
b1ca073276
29 changed files with 422 additions and 298 deletions
|
|
@ -12,7 +12,7 @@ public sealed class Mod : IMod
|
|||
{
|
||||
Name = "Forced Files",
|
||||
Index = -1,
|
||||
Priority = int.MaxValue,
|
||||
Priority = ModPriority.MaxValue,
|
||||
};
|
||||
|
||||
// Main Data
|
||||
|
|
@ -26,9 +26,9 @@ public sealed class Mod : IMod
|
|||
public bool IsTemporary
|
||||
=> Index < 0;
|
||||
|
||||
/// <summary>Unused if Index < 0 but used for special temporary mods.</summary>
|
||||
public int Priority
|
||||
=> 0;
|
||||
/// <summary>Unused if Index is less than 0 but used for special temporary mods.</summary>
|
||||
public ModPriority Priority
|
||||
=> ModPriority.Default;
|
||||
|
||||
internal Mod(DirectoryInfo modPath)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue