Skip to main content
Version: 5.7.0

RemoveGroupScore

Removes the group's score data from the specified group leaderboard. Optional parameters: versionId

ServiceOperation
leaderboardREMOVE_GROUP_SCORE

Method Parameters

ParameterDescription
leaderboardIdThe id of the leaderboard.
groupIdThe id of the group.
versionIdThe version of the leaderboard. Use -1 to specify the currently active leaderboard version.

Usage

http://localhost:3000
string leaderboardId = "default";
string groupId = "actual_group_id";
int versionId = -1;
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.LeaderboardService.RemoveGroupScore(leaderboardId, groupId, versionId, successCallback, failureCallback);