Class OvermindAction
Represents a bot action which runs within the overmind.
Inheritance
OvermindAction
Implements
Inherited Members
Namespace: Microsoft.XboxStudios.BotBrain.Overmind
Assembly: BotBrain.Overmind.dll
Syntax
public abstract class OvermindAction : CancellableOperationBase<OvermindBot>, ICancellableOperation<OvermindBot>, IOperation<OvermindBot>, ICancellableOperation, IOperation
Constructors
View SourceOvermindAction(string)
Initializes a new instance of the OvermindAction class.
Declaration
protected OvermindAction(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | The action name. |
Properties
View SourceName
Gets the action name.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
string |
Targets
Gets an enumeration of devices to apply this action to.
Declaration
[JsonIgnore]
public abstract IEnumerable<IDevice> Targets { get; }
Property Value
Type | Description |
---|---|
IEnumerable<IDevice> |
Methods
View SourceToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | A string that represents the current object. |