Interfaces
IAssistanceServiceManagerService
Responsible for managing the assistance services.
Methods
CallAsync
Calls an assistance service.
Parameters
| Name | Type | Description |
|---|---|---|
| requestedBy | FPlayer | The player who requested the assistance service. |
| onCanceled | Action | The action to invoke when the assistance service is canceled. |
Returns
| Name | Type |
|---|---|
| Task<Guid> | The GUID of the assistance service. |
CallAsync
Calls an assistance service.
Parameters
| Name | Type | Description |
|---|---|---|
| type | Type | The type. |
| requestedBy | FPlayer | The player who requested the assistance service. |
| onCanceled | Action | The action to invoke when the assistance service is canceled. |
Returns
| Name | Type |
|---|---|
| Task<Guid> | The GUID of the assistance service. |
Cancel
Cancels an assistance service. The GUID will be set to Guid.Empty.
Parameters
| Name | Type | Description |
|---|---|---|
| guid | ref Guid | The GUID of the assistance service. |
Properties
AvailableServices
Gets all registered assistance services.
Type: IReadOnlyList<AvailableAssistanceService>