Skip to main content
Version: 5.7.0

ReadGlobalStatsSubset

Reads a subset of global statistics.

ServiceOperation
globalGameStatisticsREAD_SUBSET

Method Parameters

ParameterDescription
statisticsA collection containing the statistics to read

Usage

http://localhost:3000
string[] statistics = { "ESTIMATE", "POINTS" };
SuccessCallback successCallback = (response, cbObject) =>
{
Debug.Log(string.Format("Success | {0}", response));
};
FailureCallback failureCallback = (status, code, error, cbObject) =>
{
Debug.Log(string.Format("Failed | {0} {1} {2}", status, code, error));
};

_bc.GlobalStatisticsService.ReadGlobalStatsSubset(statistics, successCallback, failureCallback);
JSON Response
{
"data": {
"statistics": {
"POINTS": 11,
"ESTIMATE": 5
}
},
"status": 200
}