Class CraftBonusCause
Crafting-specific cause. Triggers when the context action matches and recipe/skill/station/tag filters pass.
Inheritance
System.Object
CraftBonusCause
Assembly: Eco.Gameplay.dll
Syntax
public class CraftBonusCause : BonusCause, IDescribable
Constructors
CraftBonusCause()
Declaration
Properties
Action
Declaration
public BonusAction Action { get; set; }
Property Value
CraftStationTypes
Declaration
public HashSet<Type> CraftStationTypes { get; set; }
Property Value
| Type |
Description |
| System.Collections.Generic.HashSet<System.Type> |
|
Declaration
public HashSet<string> ItemTags { get; set; }
Property Value
| Type |
Description |
| System.Collections.Generic.HashSet<System.String> |
|
Recipes
Declaration
public HashSet<Type> Recipes { 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