Class PlantActionAware
Override authentication for tree
Inheritance
System.Object
PlantActionAware
Namespace: Eco.Gameplay.Plants
Assembly: Eco.Gameplay.dll
Syntax
public class PlantActionAware : Object, IGameActionAware, ICanOverrideAuth
Constructors
PlantActionAware()
Declaration
public PlantActionAware()
Methods
ActionPerformed(GameAction)
Declaration
public void ActionPerformed(GameAction action)
Parameters
Type | Name | Description |
---|---|---|
GameAction | action |
ShouldOverrideAuth(IAlias, IOwned, GameAction)
Override for tree. Who chopped the tree gain access to its trunks
Declaration
public LazyResult ShouldOverrideAuth(IAlias alias, IOwned property, GameAction action)
Parameters
Type | Name | Description |
---|---|---|
IAlias | alias | |
IOwned | property | |
GameAction | action |
Returns
Type | Description |
---|---|
LazyResult |