Class GameConfiguration
Represents an installed game or application.
Implements
Inherited Members
Namespace: Microsoft.XboxStudios.BotBrain.Overmind
Assembly: BotBrain.Overmind.dll
Syntax
public class GameConfiguration : IEquatable<GameConfiguration?>
Constructors
View SourceGameConfiguration()
Initializes a new instance of the GameConfiguration class.
Declaration
public GameConfiguration()
GameConfiguration(string, string?)
Initializes a new instance of the GameConfiguration class.
Declaration
public GameConfiguration(string applicationName, string? arguments = null)
Parameters
Type | Name | Description |
---|---|---|
string | applicationName | The application to launch. |
string | arguments | The launch arguments. |
Properties
View SourceApplicationName
Gets or sets the application to launch.
Declaration
public string ApplicationName { get; set; }
Property Value
Type | Description |
---|---|
string |
Arguments
Gets or sets the launch arguments.
Declaration
public string Arguments { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
View SourceEquals(GameConfiguration?)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(GameConfiguration? other)
Parameters
Type | Name | Description |
---|---|---|
GameConfiguration | 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. |