ActionType_CanExecuteDelegate(ActionInfo_bool) - Ellpeck/TinyLifeExampleMod Wiki

Tiny Life

TinyLife.Actions.ActionType

ActionType.CanExecuteDelegate(ActionInfo, bool) Delegate

A delegate method used for CanExecute

public delegate TinyLife.Actions.ActionType.CanExecuteResult ActionType.CanExecuteDelegate(TinyLife.Actions.ActionInfo info, bool automatic);

Parameters

info ActionInfo
The action info

automatic System.Boolean
Whether or not the action was started by a PersonAi rather than manually

Returns

CanExecuteResult