Beamable SDK
Public Member Functions | List of all members
Beamable.Server.Api.IMicroserviceStatsApi Interface Reference
Inheritance diagram for Beamable.Server.Api.IMicroserviceStatsApi:
Inheritance 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)
 

Member Function Documentation

◆ GetProtectedPlayerStat()

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

Retrieve a stat value, by key

Parameters
userId
key
Returns

Implemented in Beamable.Server.Api.MicroserviceStatsApi.

◆ GetProtectedPlayerStats()

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

Retrieve one or more stat values, each by key

Parameters
userId
key
Returns

Implemented in Beamable.Server.Api.MicroserviceStatsApi.

◆ SetProtectedPlayerStat()

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

Set a stat value, by key

Parameters
userId
key
value
Returns

Implemented in Beamable.Server.Api.MicroserviceStatsApi.

◆ SetProtectedPlayerStats()

Promise<EmptyResponse> Beamable.Server.Api.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.MicroserviceStatsApi.


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