public void CreateGameAsync(GameRequest game, Action <GameResponse> onSuccess, Action <Exception> onError)
 {
     AsyncRequestController.EnqueueRequest(() => CreateGame(game),
                                           onSuccess,
                                           onError);
 }
 public void GetSentRequestsAsync(int userId, Action <IEnumerable <ActorResponse> > onSuccess, Action <Exception> onError)
 {
     AsyncRequestController.EnqueueRequest(() => GetSentRequests(userId),
                                           onSuccess,
                                           onError);
 }
 public void GetMembersAsync(int groupId, Action <IEnumerable <ActorResponse> > onSuccess, Action <Exception> onError)
 {
     AsyncRequestController.EnqueueRequest(() => GetMembers(groupId),
                                           onSuccess,
                                           onError);
 }
 public void GetGameProgressAsync(int gameId, int actorId, Action <IEnumerable <EvaluationProgressResponse> > onSuccess, Action <Exception> onError)
 {
     AsyncRequestController.EnqueueRequest(() => GetGameProgress(gameId, actorId),
                                           onSuccess,
                                           onError);
 }
 public void CreateMemberRequestAsync(RelationshipRequest relationship, Action <RelationshipResponse> onSuccess, Action <Exception> onError)
 {
     AsyncRequestController.EnqueueRequest(() => CreateMemberRequest(relationship),
                                           onSuccess,
                                           onError);
 }
Esempio n. 6
0
 public void GetAsync(int?actorId, int gameId, string[] key, Action <IEnumerable <EvaluationDataResponse> > onSuccess, Action <Exception> onError)
 {
     AsyncRequestController.EnqueueRequest(() => Get(actorId, gameId, key),
                                           onSuccess,
                                           onError);
 }
Esempio n. 7
0
 public void GetByLeaderboardTypeAsync(int actorId, int gameId, string key, EvaluationDataType dataType, LeaderboardType leaderboardType, Action <EvaluationDataResponse> onSuccess, Action <Exception> onError)
 {
     AsyncRequestController.EnqueueRequest(() => GetByLeaderboardType(actorId, gameId, key, dataType, leaderboardType),
                                           onSuccess,
                                           onError);
 }
Esempio n. 8
0
 public void CreateAsync(GroupRequest actor, Action <GroupResponse> onSuccess, Action <Exception> onError)
 {
     AsyncRequestController.EnqueueRequest(() => Create(actor),
                                           onSuccess,
                                           onError);
 }
Esempio n. 9
0
 public void UpdateAsync(int id, GroupRequest group, Action onSuccess, Action <Exception> onError)
 {
     AsyncRequestController.EnqueueRequest(() => Update(id, group),
                                           onSuccess,
                                           onError);
 }
Esempio n. 10
0
 public void UpdateAsync(int id, UserRequest user, Action onSuccess, Action <Exception> onError)
 {
     AsyncRequestController.EnqueueRequest(() => Update(id, user),
                                           onSuccess,
                                           onError);
 }
 public void GetAsync(Action <string> onSuccess, Action <Exception> onError)
 {
     AsyncRequestController.EnqueueRequest(Get,
                                           onSuccess,
                                           onError);
 }
 public void CreateLeaderboardAsync(LeaderboardRequest leaderboard, Action <LeaderboardResponse> onSuccess, Action <Exception> onError)
 {
     AsyncRequestController.EnqueueRequest(() => CreateLeaderboard(leaderboard),
                                           onSuccess,
                                           onError);
 }
 public void CreateSkillAsync(EvaluationCreateRequest skill, Action <EvaluationResponse> onSuccess, Action <Exception> onError)
 {
     AsyncRequestController.EnqueueRequest(() => CreateSkill(skill),
                                           onSuccess,
                                           onError);
 }
 public void CreateAchievementAsync(EvaluationCreateRequest achievement, Action <EvaluationResponse> onSuccess, Action <Exception> onError)
 {
     AsyncRequestController.EnqueueRequest(() => CreateAchievement(achievement),
                                           onSuccess,
                                           onError);
 }
 public void HeartbeatAsync(Action onSuccess, Action <Exception> onError)
 {
     AsyncRequestController.EnqueueRequest(Heartbeat,
                                           onSuccess,
                                           onError);
 }
Esempio n. 16
0
 public void DeleteAsync(int id, Action onSuccess, Action <Exception> onError)
 {
     AsyncRequestController.EnqueueRequest(() => Delete(id),
                                           onSuccess,
                                           onError);
 }
Esempio n. 17
0
 public void AddAsync(EvaluationDataRequest data, Action <EvaluationDataResponse> onSuccess, Action <Exception> onError)
 {
     AsyncRequestController.EnqueueRequest(() => Add(data),
                                           onSuccess,
                                           onError);
 }
 public void GetAsync(Action <IEnumerable <GameResponse> > onSuccess, Action <Exception> onError)
 {
     AsyncRequestController.EnqueueRequest(Get,
                                           onSuccess,
                                           onError);
 }
Esempio n. 19
0
 public void GetGameActorsAsync(int id, Action <IEnumerable <ActorResponse> > onSuccess, Action <Exception> onError)
 {
     AsyncRequestController.EnqueueRequest(() => GetGameActors(id),
                                           onSuccess,
                                           onError);
 }
 public void GetAsync(string name, Action <IEnumerable <GameResponse> > onSuccess, Action <Exception> onError)
 {
     AsyncRequestController.EnqueueRequest(() => Get(name),
                                           onSuccess,
                                           onError);
 }
Esempio n. 21
0
 public void GetAchievementProgressAsync(string token, int gameId, int actorId, Action <EvaluationProgressResponse> onSuccess, Action <Exception> onError)
 {
     AsyncRequestController.EnqueueRequest(() => GetAchievementProgress(token, gameId, actorId),
                                           onSuccess,
                                           onError);
 }
 public void GetAsync(int id, Action <GameResponse> onSuccess, Action <Exception> onError)
 {
     AsyncRequestController.EnqueueRequest(() => Get(id),
                                           onSuccess,
                                           onError);
 }
 public void GetGlobalSkillProgressAsync(string token, int actorId, Action <EvaluationProgressResponse> onSuccess, Action <Exception> onError)
 {
     AsyncRequestController.EnqueueRequest(() => GetGlobalSkillProgress(token, actorId),
                                           onSuccess,
                                           onError);
 }
 public void LogoutAsync(Action onSuccess, Action <Exception> onError)
 {
     AsyncRequestController.EnqueueRequest(Logout,
                                           onSuccess,
                                           onError);
 }
 public void UpdateMemberAsync(RelationshipStatusUpdate relationship, Action onSuccess, Action <Exception> onError)
 {
     AsyncRequestController.EnqueueRequest(() => UpdateMember(relationship),
                                           onSuccess,
                                           onError);
 }
 public void LoginAsync(string authorizationToken, Action <AccountResponse> onSuccess, Action <Exception> onError)
 {
     AsyncRequestController.EnqueueRequest(() => Login(authorizationToken),
                                           onSuccess,
                                           onError);
 }
 public void GetMemberCountAsync(int groupId, Action <int> onSuccess, Action <Exception> onError)
 {
     AsyncRequestController.EnqueueRequest(() => GetMemberCount(groupId),
                                           onSuccess,
                                           onError);
 }
 public void CreateAndLoginAsync(int gameId, AccountRequest account, Action <AccountResponse> onSuccess, Action <Exception> onError)
 {
     AsyncRequestController.EnqueueRequest(() => CreateAndLogin(gameId, account),
                                           onSuccess,
                                           onError);
 }
 public void CreateAsync(AccountRequest accountRequest, Action <AccountResponse> onSuccess, Action <Exception> onError)
 {
     AsyncRequestController.EnqueueRequest(() => Create(accountRequest),
                                           onSuccess,
                                           onError);
 }
 public void TransferAsync(ResourceTransferRequest data, Action <ResourceTransferResponse> onSuccess, Action <Exception> onError)
 {
     AsyncRequestController.EnqueueRequest(() => Transfer(data),
                                           onSuccess,
                                           onError);
 }