CotC C# SDK for Unity  v1.4.0.1
Making social games is easy !
Public Attributes | List of all members
CotcSdk.PromiseHandler< T > Class Template Reference

Description

Holds two callback delegates to call in case of resolved (success) or rejected (failure) Promise. Should only be used for internal SDK conveniency.

Parameters
CallbackDelegate to call in case of resolved (success) Promise.
OnFailureDelegate to call in case of rejected (failure) Promise.

Public Attributes

Action< T > Callback
 Delegate to call in case of resolved (success) Promise. Provides a promised type result when resolved. More...
 
Action< Exception > OnFailure
 Delegate to call in case of rejected (failure) Promise. More...
 
Action Callback
 Delegate to call in case of resolved (success) Promise. More...
 

Member Data Documentation

◆ Callback [1/2]

Action<T> CotcSdk.PromiseHandler< T >.Callback

Delegate to call in case of resolved (success) Promise. Provides a promised type result when resolved.

◆ Callback [2/2]

Action CotcSdk.PromiseHandler< T >.Callback

Delegate to call in case of resolved (success) Promise.

◆ OnFailure

Action< Exception > CotcSdk.PromiseHandler< T >.OnFailure

Delegate to call in case of rejected (failure) Promise.