Beamable SDK
Public Member Functions | List of all members
Beamable.Server.Api.Stats.IMicroserviceStatsApi Interface Reference
Inheritance diagram for Beamable.Server.Api.Stats.IMicroserviceStatsApi:
Inheritance graph
[legend]
Collaboration diagram for Beamable.Server.Api.Stats.IMicroserviceStatsApi:
Collaboration graph
[legend]

Public Member Functions

Promise< string > GetProtectedPlayerStat (long userId, string key)
 Retrieve a stat value, by key More...
 
Promise< Dictionary< string, string > > GetProtectedPlayerStats (long userId, string[] stats)
 Retrieve one or more stat values, each by key More...
 
Promise< EmptyResponseSetProtectedPlayerStat (long userId, string key, string value)
 Set a stat value, by key More...
 
Promise< EmptyResponseSetProtectedPlayerStats (long userId, Dictionary< string, string > stats)
 Set one or more stat values, by key More...
 
Promise< EmptyResponseSetStats (string domain, string access, string type, long userId, Dictionary< string, string > stats)
 
Promise< Dictionary< string, string > > GetStats (string domain, string access, string type, long userId, string[] stats)
 
- Public Member Functions inherited from Beamable.Common.Api.Stats.IStatsApi
UserDataCache< Dictionary< string, string > > GetCache (string prefix)
 
Promise< EmptyResponseSetStats (string access, Dictionary< string, string > stats)
 
Promise< Dictionary< string, string > > GetStats (string domain, string access, string type, long id)
 

Member Function Documentation

◆ GetProtectedPlayerStat()

Promise<string> Beamable.Server.Api.Stats.IMicroserviceStatsApi.GetProtectedPlayerStat ( long  userId,
string  key 
)

Retrieve a stat value, by key

Parameters
userId
key
Returns

Implemented in Beamable.Server.Api.Stats.MicroserviceStatsApi.

◆ GetProtectedPlayerStats()

Promise<Dictionary<string, string> > Beamable.Server.Api.Stats.IMicroserviceStatsApi.GetProtectedPlayerStats ( long  userId,
string[]  stats 
)

Retrieve one or more stat values, each by key

Parameters
userId
key
Returns

Implemented in Beamable.Server.Api.Stats.MicroserviceStatsApi.

◆ SetProtectedPlayerStat()

Promise<EmptyResponse> Beamable.Server.Api.Stats.IMicroserviceStatsApi.SetProtectedPlayerStat ( long  userId,
string  key,
string  value 
)

Set a stat value, by key

Parameters
userId
key
value
Returns

Implemented in Beamable.Server.Api.Stats.MicroserviceStatsApi.

◆ SetProtectedPlayerStats()

Promise<EmptyResponse> Beamable.Server.Api.Stats.IMicroserviceStatsApi.SetProtectedPlayerStats ( long  userId,
Dictionary< string, string >  stats 
)

Set one or more stat values, by key

Parameters
userId
stats
Returns

Implemented in Beamable.Server.Api.Stats.MicroserviceStatsApi.


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