Skip to main content
Version: 5.7.0

ReadAllGlobalStats

Method returns all of the global statistics.

ServiceOperation
globalGameStatisticsREAD

Usage

http://localhost:3000
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.ReadAllGlobalStats(successCallback, failureCallback);
JSON Response
{
"status": 200,
"data": {
"statistics": {
"TotalXpEarned": 0,
"_GAME_LOGINS": 805
}
}
}