Add potential hidden priorities.

This commit is contained in:
Ottermandias 2024-09-19 22:50:00 +02:00
parent 9b958a9d37
commit af2a14826c
3 changed files with 13 additions and 2 deletions

View file

@ -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;
}