Beamable SDK
Public Member Functions | Properties | List of all members
Beamable.Server.Api.MicroserviceStatsApi Class Reference
Inheritance diagram for Beamable.Server.Api.MicroserviceStatsApi:
Inheritance graph
[legend]
Collaboration diagram for Beamable.Server.Api.MicroserviceStatsApi:
Collaboration graph
[legend]

Public Member Functions

 MicroserviceStatsApi (MicroserviceRequester requester, RequestContext context)
 
Promise< string > GetProtectedPlayerStat (long userId, string stat)
 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)
 

Properties

MicroserviceRequester Requester [get]
 
RequestContext Context [get]
 

Member Function Documentation

◆ GetProtectedPlayerStat()

Promise<string> Beamable.Server.Api.MicroserviceStatsApi.GetProtectedPlayerStat ( long  userId,
string  key 
)
inline

Retrieve a stat value, by key

Parameters
userId
key
Returns

Implements Beamable.Server.Api.IMicroserviceStatsApi.

◆ GetProtectedPlayerStats()

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

Retrieve one or more stat values, each by key

Parameters
userId
key
Returns

Implements Beamable.Server.Api.IMicroserviceStatsApi.

◆ SetProtectedPlayerStat()

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

Set a stat value, by key

Parameters
userId
key
value
Returns

Implements Beamable.Server.Api.IMicroserviceStatsApi.

◆ SetProtectedPlayerStats()

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

Set one or more stat values, by key

Parameters
userId
stats
Returns

Implements Beamable.Server.Api.IMicroserviceStatsApi.


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