Interface IUnrealConsoleCommandClient
An interface for a game client which can execute Unreal Engine 4 or 5 console commands.
Namespace: Microsoft.XboxStudios.GameStateTracker.Unreal
Assembly: GameStateTracker.Unreal.dll
Syntax
public interface IUnrealConsoleCommandClient
Methods
View SourceExecuteConsoleCommand(string, bool, CancellationToken)
Executes a console command on the game client.
Declaration
Task<string> ExecuteConsoleCommand(string command, bool useConsole, CancellationToken token = default)
Parameters
Type | Name | Description |
---|---|---|
string | command | The console command. |
bool | useConsole | If true, the command is executed from the player's console. |
CancellationToken | token | The cancellation token. |
Returns
Type | Description |
---|---|
Task<string> | The command output. |