Exemplo n.º 1
0
        public void getLeaderboardMembers(Leaderboard leaderboard, int start, int end)
        {
            leaderboard.getMembsGivenRange(start, end).async(delegate(ActionLeaderboardGetMembers action) {

                if (action.getCode () == StatusCodes.SUCCESS) {

                    foreach(LeaderboardMember member in leaderboard.getMembers()) {
                        Kumakore.LOGD(TAG, "LeaderboardMember:" + member.getUserName());
                    }

                    return;
                } else if (handleErrorCodes(action)) {
                    //...
                }

                Kumakore.LOGE(TAG, action.getStatusMessage());
            });
        }