Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
PersistenceWhenAvailableTask Class Reference
Inheritance diagram for PersistenceWhenAvailableTask:
PersistenceCallback PersistenceCallback

Protected Member Functions

void OnResult (Managed instance, PersistenceDeferredDeserializeTask task=null, bool expired=false, Managed context=null)
proto external bool InvokeDelegate (Managed instance, PersistenceDeferredDeserializeTask task=null, bool expired=false)
 Invoke the delegate assigned to this callback. Returns false if there is none. To be used from OnResult.
void OnResult (Managed instance, PersistenceDeferredDeserializeTask task=null, bool expired=false, Managed context=null)
proto external bool InvokeDelegate (Managed instance, PersistenceDeferredDeserializeTask task=null, bool expired=false)
 Invoke the delegate assigned to this callback. Returns false if there is none. To be used from OnResult.

Detailed Description

Definition at line 13 of file PersistenceWhenAvailableTask.c.

Member Function Documentation

◆ InvokeDelegate() [1/2]

proto external bool PersistenceWhenAvailableTask::InvokeDelegate ( Managed instance,
PersistenceDeferredDeserializeTask task = null,
bool expired = false )
protected

Invoke the delegate assigned to this callback. Returns false if there is none. To be used from OnResult.

◆ InvokeDelegate() [2/2]

proto external bool PersistenceWhenAvailableTask::InvokeDelegate ( Managed instance,
PersistenceDeferredDeserializeTask task = null,
bool expired = false )
protected

Invoke the delegate assigned to this callback. Returns false if there is none. To be used from OnResult.

◆ OnResult() [1/2]

void PersistenceWhenAvailableTask::OnResult ( Managed instance,
PersistenceDeferredDeserializeTask task = null,
bool expired = false,
Managed context = null )
protected

Will use the delegate passed to constructor if not implemented

Parameters
instanceThe instance tracked by the UUID the task was waiting for. ATTENTION: It may be null if it failed to load.
taskThe deserialize task optionally passed during creation. Can be passed along as strong ref to a later time, or else it will auto complete after this tasks DTOR.
expiredWhen true the requested UUID did not become available fore the max wait time expired.
contextThe optional context instance passed to constructor.

◆ OnResult() [2/2]

void PersistenceWhenAvailableTask::OnResult ( Managed instance,
PersistenceDeferredDeserializeTask task = null,
bool expired = false,
Managed context = null )
protected

Will use the delegate passed to constructor if not implemented

Parameters
instanceThe instance tracked by the UUID the task was waiting for. ATTENTION: It may be null if it failed to load.
taskThe deserialize task optionally passed during creation. Can be passed along as strong ref to a later time, or else it will auto complete after this tasks DTOR.
expiredWhen true the requested UUID did not become available fore the max wait time expired.
contextThe optional context instance passed to constructor.

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