Even More Modifiers
1.0.0.0
A mod for rolling various bonus stats on items
Main Page
Related Pages
Packages
Classes
Files
File List
File Members
UsesEffectAttribute.cs
Go to the documentation of this file.
1
using
System
;
2
using
System
.Collections.Generic;
3
4
namespace
Loot
.Api.Attributes
5
{
14
[AttributeUsage(AttributeTargets.Class, Inherited =
true
)]
15
public
sealed
class
UsesEffectAttribute
:
Attribute
16
{
17
private
readonly List<Type>
_effects
;
18
19
public
List<Type> Effects =>
new
List<Type>(_effects);
20
21
public
UsesEffectAttribute
(params Type[] types)
22
{
23
// Get a list of effects, try adding them
24
_effects =
new
List<Type>(types);
25
}
26
}
27
}
Loot.Api.Attributes.UsesEffectAttribute._effects
readonly List< Type > _effects
Definition:
UsesEffectAttribute.cs:17
Attribute
Loot
System
Loot.Api.Attributes.UsesEffectAttribute.UsesEffectAttribute
UsesEffectAttribute(params Type[] types)
Definition:
UsesEffectAttribute.cs:21
Loot.Api.Attributes.UsesEffectAttribute
This attribute is used to attach a certain Modifier to given ModifierEffects (can be attached to more...
Definition:
UsesEffectAttribute.cs:15
Api
Attributes
UsesEffectAttribute.cs
Generated on Sat Apr 18 2020 16:45:40 for Even More Modifiers by
1.8.11