Class ToolBonusCause
Triggers when the user is using a specific type of tool.
Inheritance
System.Object
ToolBonusCause
Assembly: Eco.Gameplay.dll
public class ToolBonusCause : BonusCause, IDescribable
Constructors
Declaration
Properties
Tool types to match against Tool. Uses IsInstanceOfType for inheritance support. Empty = any tool.
Declaration
public HashSet<Type> ToolTypes { get; set; }
Property Value
| Type |
Description |
| System.Collections.Generic.HashSet<System.Type> |
|
Methods
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