Class BasicBugActionsBase
Abstract class for Basic Bug Actions that titles can implement.
Inherited Members
Namespace: Microsoft.Internal.Studios.Aruba.Infrastructure
Assembly: Aruba.Infrastructure.dll
Syntax
public abstract class BasicBugActionsBase
Methods
View SourceCanLoadMap(BugInfo, IGameClient)
A function used to check if the load map action can be performed.
Declaration
public abstract bool CanLoadMap(BugInfo bugInfo, IGameClient gameClient)
Parameters
Type | Name | Description |
---|---|---|
BugInfo | bugInfo | Info about the bug. |
IGameClient | gameClient | Game client to load the map on. |
Returns
Type | Description |
---|---|
bool | Whether the action can be performed. |
CanTeleportPlayer(BugInfo, IGameClient)
A function used to check if the teleport player action can be performed.
Declaration
public abstract bool CanTeleportPlayer(BugInfo bugInfo, IGameClient gameClient)
Parameters
Type | Name | Description |
---|---|---|
BugInfo | bugInfo | Info about the bug. |
IGameClient | gameClient | The game client to teleport the player on. |
Returns
Type | Description |
---|---|
bool | Whether the action can be performed. |
GetBasicBugActions()
Gets the basic bug actions as a List of Bug Actions.
Declaration
public List<BugAction> GetBasicBugActions()
Returns
Type | Description |
---|---|
List<BugAction> | A list of Bug Actions. |
LoadMapActionAsync(BugInfo, IGameClient)
Function to perform the load map action.
Declaration
public abstract Task LoadMapActionAsync(BugInfo bugInfo, IGameClient gameClient)
Parameters
Type | Name | Description |
---|---|---|
BugInfo | bugInfo | Info about the bug. |
IGameClient | gameClient | Game client to load the map on. |
Returns
Type | Description |
---|---|
Task | A task. |
TeleportPlayerActionAsync(BugInfo, IGameClient)
Function to perform the teleport player action.
Declaration
public abstract Task TeleportPlayerActionAsync(BugInfo bugInfo, IGameClient gameClient)
Parameters
Type | Name | Description |
---|---|---|
BugInfo | bugInfo | Info about the bug. |
IGameClient | gameClient | The game client to support the player on. |
Returns
Type | Description |
---|---|
Task | A task. |