Class GameCommands
A class containing the methods to represent Game Commands.
Inherited Members
Namespace: Phoenix.Aruba.TestTitle
Assembly: Phoenix.Plugin.Aruba.TestTitle.dll
Syntax
public class GameCommands
Remarks
Initializes a new instance of the GameCommands class.
Constructors
View SourceGameCommands(IPhoenixLogger)
A class containing the methods to represent Game Commands.
Declaration
public GameCommands(IPhoenixLogger logger)
Parameters
Type | Name | Description |
---|---|---|
IPhoenixLogger | logger | The logger to use. |
Remarks
Initializes a new instance of the GameCommands class.
Methods
View SourceCanExecuteDummyGameCommand1(IGameClient, string)
A function used to check if DummyGameCommand1(IGameClient, string) can execute.
Declaration
public static bool CanExecuteDummyGameCommand1(IGameClient gameClient, string parameters)
Parameters
Type | Name | Description |
---|---|---|
IGameClient | gameClient | The game client. |
string | parameters | The parameters string. |
Returns
Type | Description |
---|---|
bool | Whether the action can be performed. |
CanExecuteDummyGameCommand2(IGameClient, string)
A function used to check if DummyGameCommand2(IGameClient, string) can execute.
Declaration
public static bool CanExecuteDummyGameCommand2(IGameClient gameClient, string parameters)
Parameters
Type | Name | Description |
---|---|---|
IGameClient | gameClient | The game client. |
string | parameters | The parameters string. |
Returns
Type | Description |
---|---|
bool | Whether the action can be performed. |
CanExecuteDummyGameCommand3(IGameClient, string)
A function used to check if DummyGameCommand3(IGameClient, string) can execute.
Declaration
public static bool CanExecuteDummyGameCommand3(IGameClient gameClient, string parameters)
Parameters
Type | Name | Description |
---|---|---|
IGameClient | gameClient | The game client. |
string | parameters | The parameters string. |
Returns
Type | Description |
---|---|
bool | Whether the action can be performed. |
DummyGameCommand1(IGameClient, string)
Function to execute a dummy game command.
Declaration
public Task DummyGameCommand1(IGameClient gameClient, string parameters)
Parameters
Type | Name | Description |
---|---|---|
IGameClient | gameClient | The game client. |
string | parameters | The parameters string. |
Returns
Type | Description |
---|---|
Task | A task. |
DummyGameCommand2(IGameClient, string)
Function to execute a dummy game command.
Declaration
public Task DummyGameCommand2(IGameClient gameClient, string parameters)
Parameters
Type | Name | Description |
---|---|---|
IGameClient | gameClient | The game client. |
string | parameters | The parameters string. |
Returns
Type | Description |
---|---|
Task | A task. |
DummyGameCommand3(IGameClient, string)
Function to execute a dummy game command.
Declaration
public Task DummyGameCommand3(IGameClient gameClient, string parameters)
Parameters
Type | Name | Description |
---|---|---|
IGameClient | gameClient | The game client. |
string | parameters | The parameters string. |
Returns
Type | Description |
---|---|
Task | A task. |
GetCommandsToRegister()
Gets a list of commands to register.
Declaration
public List<ArubaCommand> GetCommandsToRegister()
Returns
Type | Description |
---|---|
List<ArubaCommand> | A list of ArubaCommands to register. |