Class ActionCause
Triggers when the action being performed matches a specific BonusAction.
Inheritance
System.Object
ActionCause
Assembly: Eco.Gameplay.dll
Syntax
public class ActionCause : BonusCause, IDescribable
Constructors
ActionCause()
Declaration
Properties
Action
The action type that must match Action.
Declaration
public BonusAction Action { get; set; }
Property Value
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