[This is preliminary documentation and is subject to change.]
Represents a task. This class cannot be inherited.
Inheritance Hierarchy
RageTask
RageAnimationTask
Namespace: Rage
Assembly: RagePluginHook (in RagePluginHook.dll) Version: 0.0.0.0 (0.56.1131.11510)
Syntax
The Task type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| IsActive | Gets a value indicating whether this task is active. A task is considered active if its status is not None. | |
| Name |
Gets the name of the method that was used to invoke this task. Eg. "RappelFromHelicopter".
| |
| Ped |
Gets the Ped this task is assigned to.
| |
| Status |
Gets the current status of this task.
|
Methods
| Name | Description | |
|---|---|---|
| GetTask |
Gets an instance of Task to check the status of a task invoked by the specified native.
| |
| IsValid | ||
| WaitForCompletion |
Sleeps the active GameFiber until the task completes.
| |
| WaitForCompletion(Int32) |
Sleeps the active GameFiber until the task completes.
| |
| WaitForStatus(TaskStatus) |
Sleeps the active GameFiber until the task reaches the specified status.
| |
| WaitForStatus(TaskStatus, Int32) |
Sleeps the active GameFiber until the task reaches the specified status.
|
See Also