public void LoadMoreScores(AN_LeaderboardsClient client, AN_LeaderboardScoreBuffer buffer, int maxResults, int pageDirection, Action <AN_LinkedObjectResult <AN_LeaderboardScores> > callback)
 {
     SA_Coroutine.WaitForSeconds(1, () => {
         var result = new AN_LinkedObjectResult <AN_LeaderboardScores>(new AN_LeaderboardScores());
         callback.Invoke(result);
     });
 }
        private void LoadMore(AN_LeaderboardsClient client, AN_LeaderboardScoreBuffer buffer)
        {
            client.LoadMoreScores(buffer, PAGE_ITEMS_COUNT, AN_PageDirection.Next, (result) => {
                if (result.IsSucceeded)
                {
                    PrintScoresResultData(result);
                }

                SetAPIResult(result);
            });
        }
 public void LoadMoreScores(AN_LeaderboardsClient client, AN_LeaderboardScoreBuffer buffer, int maxResults, int pageDirection, Action <AN_LinkedObjectResult <AN_LeaderboardScores> > callback)
 {
     AN_Java.Bridge.CallStaticWithCallback(AN_LeaderboardsClient, "LoadMoreScores", callback, client.HashCode, buffer.HashCode, maxResults, pageDirection);
 }
        public AN_LeaderboardScoreBuffer.ScoresList LeaderboardScoreBuffer_GetScores(AN_LeaderboardScoreBuffer buffer)
        {
            var json = AN_Java.Bridge.CallStatic <string>(AN_LeaderboardScoreBuffer, "GetScores", buffer.HashCode);

            return(JsonUtility.FromJson <AN_LeaderboardScoreBuffer.ScoresList>(json));
        }
        //--------------------------------------
        // AN_LeaderboardScoreBuffer
        //--------------------------------------


        public AN_LeaderboardScoreBuffer.ScoresList LeaderboardScoreBuffer_GetScores(AN_LeaderboardScoreBuffer buffer)
        {
            return(new AN_LeaderboardScoreBuffer.ScoresList());
        }