@@ -1787,10 +1787,15 @@ public static void GetScoreListOriginal(int leaderboardId, int count, int after,
1787
1787
1788
1788
public static void SubmitScore ( string memberId , int score , int leaderboardId , Action < LootLockerSubmitScoreResponse > onComplete )
1789
1789
{
1790
- SubmitScore ( memberId , score , leaderboardId , "" , onComplete ) ;
1790
+ SubmitScore ( memberId , score , leaderboardId . ToString ( ) , "" , onComplete ) ;
1791
1791
}
1792
1792
1793
- public static void SubmitScore ( string memberId , int score , int leaderboardId , string metadata , Action < LootLockerSubmitScoreResponse > onComplete )
1793
+ public static void SubmitScore ( string memberId , int score , string leaderboardKey , Action < LootLockerSubmitScoreResponse > onComplete )
1794
+ {
1795
+ SubmitScore ( memberId , score , leaderboardKey , "" , onComplete ) ;
1796
+ }
1797
+
1798
+ public static void SubmitScore ( string memberId , int score , string leaderboardId , string metadata , Action < LootLockerSubmitScoreResponse > onComplete )
1794
1799
{
1795
1800
if ( ! CheckInitialized ( ) )
1796
1801
{
@@ -1808,7 +1813,7 @@ public static void SubmitScore(string memberId, int score, int leaderboardId, st
1808
1813
if ( ! string . IsNullOrEmpty ( metadata ) )
1809
1814
request . metadata = metadata ;
1810
1815
1811
- LootLockerAPIManager . SubmitScore ( request , leaderboardId . ToString ( ) , onComplete ) ;
1816
+ LootLockerAPIManager . SubmitScore ( request , leaderboardId , onComplete ) ;
1812
1817
}
1813
1818
1814
1819
public static void ComputeAndLockDropTable ( int tableInstanceId , Action < LootLockerComputeAndLockDropTableResponse > onComplete , bool AddAssetDetails = false , string tag = "" )
0 commit comments