Even More Modifiers  1.0.0.0
A mod for rolling various bonus stats on items
DelegationPrioritizationAttribute.cs
Go to the documentation of this file.
1 using System;
2 
3 namespace Loot.Api.Attributes
4 {
15  [AttributeUsage(AttributeTargets.Method, Inherited = true)]
17  {
19  public int DelegationLevel { get; }
20 
21  public DelegationPrioritizationAttribute(DelegationPrioritization delegationPrioritization, int delegationLevel = 0)
22  {
23  if (delegationLevel < 0 || delegationLevel > 999)
24  {
25  throw new ArgumentOutOfRangeException(nameof(delegationLevel), delegationLevel, "delegationLevel must be within 0-999");
26  }
27 
28  DelegationPrioritization = delegationPrioritization;
29  DelegationLevel = delegationLevel;
30  }
31  }
32 }
DelegationPrioritization
Specify when you want your delegation to happen in the chain
This attribute is used to set a custom prioritization for a delegation It allows you to customize at ...
DelegationPrioritizationAttribute(DelegationPrioritization delegationPrioritization, int delegationLevel=0)