Even More Modifiers  1.0.0.0
A mod for rolling various bonus stats on items
NullModifierRarity.cs
Go to the documentation of this file.
1 using Loot.Api.Attributes;
2 using Microsoft.Xna.Framework;
3 
4 namespace Loot.Api.Core
5 {
10  [DoNotLoad]
11  public sealed class NullModifierRarity : ModifierRarity
12  {
14  public static NullModifierRarity INSTANCE
15  {
16  get => _singleton ?? (_singleton = new NullModifierRarity());
17  internal set => _singleton = value;
18  }
19 
20  public override Color Color => Color.White;
21 
23  {
24  }
25  }
26 }
Defines the rarity of a modifier
static NullModifierRarity _singleton
Defines a "Null" rarity which represents no rarity safely Cannot be rolled normally ...