Table of Contents

Enum CanExecuteResult.ResultType

Namespace
TinyLife.Actions
Assembly
Tiny Life.dll

A type of result that a CanExecuteResult can have. In general, custom CanExecuteResult instances will have the Invalid result type, as Valid and Hidden are already covered by their respective CanExecuteResult counterparts.

public enum CanExecuteResult.ResultType
Extension Methods

Fields

Hidden = 2

A hidden CanExecuteResult.ResultType indicates that the action cannot be executed, and shouldn't be displayed as a disallowed option to the player. CanExecuteResult instances with this type usually don't display their name to the player.

Invalid = 1

An invalid CanExecuteResult.ResultType signifies that the action cannot be executed for some reason.

Valid = 0

A valid CanExecuteResult.ResultType indicates that the action can be executed. CanExecuteResult instances with this type usually don't display their name to the player.