Beamable SDK
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
Beamable.Api.UnityUserDataCache< T > Class Template Reference
Inheritance diagram for Beamable.Api.UnityUserDataCache< T >:
Inheritance graph
[legend]
Collaboration diagram for Beamable.Api.UnityUserDataCache< T >:
Collaboration graph
[legend]

Public Member Functions

 UnityUserDataCache (string name, long ttlMs, CacheResolver resolver)
 
- Public Member Functions inherited from Beamable.Common.Api.UserDataCache< T >
delegate UserDataCache< T > FactoryFunction (string name, long ttlMs, CacheResolver resolver)
 
delegate Promise< Dictionary< long, T > > CacheResolver (List< long > gamerTags)
 
Promise< T > Get (long gamerTag)
 
Promise< Dictionary< long, T > > GetBatch (List< long > gamerTags)
 
void Set (long gamerTag, T data)
 
void Remove (long gamerTag)
 

Static Public Member Functions

static UnityUserDataCache< T > CreateInstance (string name, long ttlMs, CacheResolver resolver)
 

Protected Member Functions

override void PerformScheduleResolve ()
 
- Protected Member Functions inherited from Beamable.Common.Api.UserDataCache< T >
 UserDataCache (string name, long ttlMs, CacheResolver resolver)
 
virtual void Resolve ()
 

Additional Inherited Members

- Protected Attributes inherited from Beamable.Common.Api.UserDataCache< T >
Dictionary< long, UserDataCacheEntrycache = new Dictionary<long, UserDataCacheEntry>()
 
List< long > gamerTagsPending = new List<long>()
 
List< long > gamerTagsInFlight = new List<long>()
 
Promise< Dictionary< long, T > > nextPromise = new Promise<Dictionary<long, T>>()
 
Dictionary< long, T > result = new Dictionary<long, T>()
 
- Properties inherited from Beamable.Common.Api.UserDataCache< T >
string Name [get]
 
long TtlMs [get]
 
CacheResolver Resolver [get]
 

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