mirror of
https://github.com/xivdev/Penumbra.git
synced 2026-02-21 23:37:47 +01:00
Add potential hidden priorities.
This commit is contained in:
parent
9b958a9d37
commit
af2a14826c
3 changed files with 13 additions and 2 deletions
|
|
@ -66,4 +66,10 @@ public readonly record struct ModPriority(int Value) :
|
|||
|
||||
public int CompareTo(ModPriority other)
|
||||
=> Value.CompareTo(other.Value);
|
||||
|
||||
public const int HiddenMin = -84037;
|
||||
public const int HiddenMax = HiddenMin + 1000;
|
||||
|
||||
public bool IsHidden
|
||||
=> Value is > HiddenMin and < HiddenMax;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue