Delegate GameConnectionWidget.GameConnectionAction
A shorthand for a connect/disconnect action with a game connection.
Namespace: Phoenix.Controls.GameConnection
Assembly: Phoenix.Controls.GameConnection.dll
Syntax
public delegate Task GameConnectionAction(GameConnectionConfiguration config, CancellationToken token);
Parameters
Type | Name | Description |
---|---|---|
GameConnectionConfiguration | config | The configuration information. |
System.Threading.CancellationToken | token | The cancellation token. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | A task that performs the action. |