OnSuccess
method in Coherence.Cloud.LoginOperation
Methods
public LoginOperation OnSuccess(Action<PlayerAccount> action)
Specify an action to perform if the operation completes successfully (LoginOperation.IsCompletedSuccessfully becomes true).
Parameters
| Type | Name | Description |
|---|---|---|
| Action<PlayerAccount> | action | Reference to a function to execute if and when the operation has completed successfully. |
Returns
| Type | Description |
|---|---|
| LoginOperation |
public LoginOperation OnSuccess(Action<LoginOperation> action)
Specify an action to perform if the operation completes successfully (LoginOperation.IsCompletedSuccessfully becomes true).
Parameters
| Type | Name | Description |
|---|---|---|
| Action<LoginOperation> | action | Reference to a function to execute if and when the operation has completed successfully. |
Returns
| Type | Description |
|---|---|
| LoginOperation |
public LoginOperation OnSuccess(Action action)
Specify an action to perform if the operation completes successfully (LoginOperation.IsCompletedSuccessfully becomes true).
Parameters
| Type | Name | Description |
|---|---|---|
| Action | action | Reference to a function to execute if and when the operation has completed successfully. |
Returns
| Type | Description |
|---|---|
| LoginOperation |