Class ResourceTagCause
Triggers when the item in context has one of the specified tags.
Inheritance
System.Object
ResourceTagCause
Assembly: Eco.Gameplay.dll
Syntax
public class ResourceTagCause : BonusCause, IDescribable
Constructors
ResourceTagCause()
Declaration
public ResourceTagCause()
Properties
Tag names to match against Item's tags. Any match triggers.
Declaration
public HashSet<string> Tags { get; set; }
Property Value
| Type |
Description |
| System.Collections.Generic.HashSet<System.String> |
|
Methods
Description()
Declaration
public override LocString Description()
Returns
Overrides
IsTriggered(BonusContext)
Declaration
public override bool IsTriggered(BonusContext context)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
Overrides
Implements
Extension Methods