Class HarvestBonusCause
Harvest-specific cause. Triggers when the context action is a harvest action and item/skill/tag filters pass.
Inheritance
System.Object
HarvestBonusCause
Assembly: Eco.Gameplay.dll
Syntax
public class HarvestBonusCause : BonusCause, IDescribable
Constructors
HarvestBonusCause()
Declaration
public HarvestBonusCause()
Properties
Action
Declaration
public BonusAction Action { get; set; }
Property Value
Declaration
public HashSet<string> ItemTags { get; set; }
Property Value
| Type |
Description |
| System.Collections.Generic.HashSet<System.String> |
|
ItemTypes
Declaration
public HashSet<Type> ItemTypes { get; set; }
Property Value
| Type |
Description |
| System.Collections.Generic.HashSet<System.Type> |
|
SkillTypes
Declaration
public HashSet<Type> SkillTypes { get; set; }
Property Value
| Type |
Description |
| System.Collections.Generic.HashSet<System.Type> |
|
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