Skip to content

Commit 2099892

Browse files
committed
Update LootLockerSDKManager.cs
Moving metadata property in SubmitScore-api to before onComplete-API by using an overload instead of default value.
1 parent 45fcce9 commit 2099892

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Runtime/Game/LootLockerSDKManager.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1862,7 +1862,12 @@ public static void GetScoreListOriginal(int leaderboardId, int count, int after,
18621862
LootLockerAPIManager.GetScoreList(request, onComplete);
18631863
}
18641864

1865-
public static void SubmitScore(string memberId, int score, int leaderboardId, Action<LootLockerSubmitScoreResponse> onComplete, string metadata = "")
1865+
public static void SubmitScore(string memberId, int score, int leaderboardIdAction, Action<LootLockerSubmitScoreResponse> onComplete)
1866+
{
1867+
SubmitScore(memberId, score, leaderboardIdAction, "", onComplete);
1868+
}
1869+
1870+
public static void SubmitScore(string memberId, int score, int leaderboardId, string metadata, Action<LootLockerSubmitScoreResponse> onComplete)
18661871
{
18671872
if (!CheckInitialized())
18681873
{

0 commit comments

Comments
 (0)