ManiaScript Reference  2019-05
CTaskResult Struct Reference
Inheritance diagram for CTaskResult:
CNod CTaskResult_BuddiesChallengeRecord CTaskResult_BuddiesChallengeRecordsComparison CTaskResult_BuddyChallengeRecordsComparison CTaskResult_FileList CTaskResult_GameModeList CTaskResult_Ghost CTaskResult_GhostList CTaskResult_MapList CTaskResult_NaturalLeaderBoardInfoList CTaskResult_PlayerMapRecords CTaskResult_RealLeaderBoardInfoList CTaskResult_ReplayList CTaskResult_StringIntList

Public Member Functions

Void Cancel ()
 

Public Attributes

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

Detailed Description

Asynchronous task result.

Member Function Documentation

◆ Cancel()

Void CTaskResult::Cancel ( )

Member Data Documentation

◆ ErrorCode

const Text CTaskResult::ErrorCode

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

◆ ErrorDescription

const Text CTaskResult::ErrorDescription

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

◆ ErrorType

const Text CTaskResult::ErrorType

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

◆ HasFailed

const Boolean CTaskResult::HasFailed

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

◆ HasSucceeded

const Boolean CTaskResult::HasSucceeded

Returns a boolean indicating if the task has succeeded.

◆ Id

const Ident CTaskResult::Id

◆ IsCanceled

const Boolean CTaskResult::IsCanceled

Returns a boolean indicating if the task has been canceled.

◆ IsProcessing

const Boolean CTaskResult::IsProcessing

Returns a boolean indicating if the task is still processing.