C4 Engine Terathon Software C4 Engine API Documentation

• Utility Library

API Links
Developer Links

Completable::SetCompletionData

Defined in:  C4Completable.h
Sets the data value that is passed to the completion procedure.
Prototype

void SetCompletionData(dataType data);

Parameters
data This value is passed to the completion procedure as its second parameter.
Description
The SetCompletionData function sets the data value that is passed to the completion procedure for an object that inherits from the Completable class template. When a subclass completes a task and wishes to notify the user of the object that the task has completed, it calls Completable::CallCompletionProc.
See Also

Completable::GetCompletionProc

Completable::SetCompletionProc

Completable::GetCompletionData

Completable::CallCompletionProc