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