Class OvermindSettings
Represents the settings for an overmind run.
Implements
Inherited Members
Namespace: Microsoft.XboxStudios.BotBrain.Overmind
Assembly: BotBrain.Overmind.dll
Syntax
public class OvermindSettings : IEquatable<OvermindSettings?>
Constructors
View SourceOvermindSettings()
Initializes a new instance of the OvermindSettings class.
Declaration
public OvermindSettings()
OvermindSettings(IEnumerable<IScenario>)
Initializes a new instance of the OvermindSettings class.
Declaration
public OvermindSettings(IEnumerable<IScenario> scenarios)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<IScenario> | scenarios | The scenarios to run. |
Properties
View SourceScenarios
Gets the collection of scenarios for this overmind to run.
Declaration
public Collection<IScenario> Scenarios { get; }
Property Value
Type | Description |
---|---|
Collection<IScenario> |
Methods
View SourceEquals(OvermindSettings?)
Indicates whether the current object is equal to another object of the same type.
Declaration
public virtual bool Equals(OvermindSettings? other)
Parameters
Type | Name | Description |
---|---|---|
OvermindSettings | other | An object to compare with this object. |
Returns
Type | Description |
---|---|
bool | true if the current object is equal to the |
Equals(object?)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object? obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | The object to compare with the current object. |
Returns
Type | Description |
---|---|
bool | true if the specified object is equal to the current object; otherwise, false. |
Overrides
View SourceGetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | A hash code for the current object. |
Overrides
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. |