public void RequestFirstPage(CoLeaderboardPage page, LeaderboardPageLoadDelegate pageCompleteDelegate) { if (SessionActive) { if (_currentlyLoadingLeaderboardPage != null) { throw new Exception("Previous leaderboard page request still being processed"); } _leaderboardPageLoadDelegate = pageCompleteDelegate; _currentlyLoadingLeaderboardPage = page; page.RequestFirst(); } }
public void RequestFirstPage(CoLeaderboardPage page, LeaderboardPageLoadDelegate pageCompleteDelegate) { if (SessionActive) { if (_currentlyLoadingLeaderboardPage != null) throw new Exception("Previous leaderboard page request still being processed"); _leaderboardPageLoadDelegate = pageCompleteDelegate; _currentlyLoadingLeaderboardPage = page; page.RequestFirst(); } }