Trackmania ManiaScript Reference 2026.2.2.1751
A ManiaScript Reference of the new Trackmania.
Loading...
Searching...
No Matches
CTaskResult Class Reference

Asynchronous task result. More...

#include <doc.h>

Inheritance diagram for CTaskResult:
[legend]

Public Member Functions

Void Cancel ()

Public Attributes

Boolean const IsProcessing
Boolean const HasSucceeded
Boolean const HasFailed
Boolean const IsCanceled
Text const ErrorType
Text const ErrorCode
Text const ErrorDescription
Public Attributes inherited from CNod
Ident const Id

Detailed Description

Asynchronous task result.

Supported declare modes :

  • Local

Member Function Documentation

◆ Cancel()

Void CTaskResult::Cancel ( )

Member Data Documentation

◆ ErrorCode

Text const CTaskResult::ErrorCode

Returns the code of the error if the task has failed.

◆ ErrorDescription

Text const CTaskResult::ErrorDescription

Returns the description of the error if the task has failed.

◆ ErrorType

Text const CTaskResult::ErrorType

Returns the type of the error if the task has failed.

◆ HasFailed

Boolean const CTaskResult::HasFailed

Returns a boolean indicating if the task has failed or has been canceled.

◆ HasSucceeded

Boolean const CTaskResult::HasSucceeded

Returns a boolean indicating if the task has succeeded.

◆ IsCanceled

Boolean const CTaskResult::IsCanceled

Returns a boolean indicating if the task has been canceled.

◆ IsProcessing

Boolean const CTaskResult::IsProcessing

Returns a boolean indicating if the task is still processing.


The documentation for this class was generated from the following file: