예제 #1
0
        protected override void SetOfflineData(OfflineDatabase offlineDatabase, IOfflineDefinitionLoader offlineDefinitions)
        {
            ClaimRewardResponse responseBody = new ClaimRewardResponse();

            ClaimRewardOperation.ClaimReward(RewardId, out responseBody, offlineDatabase, offlineDefinitions);
        }
예제 #2
0
        public APICall <ClaimRewardOperation> ClaimReward(int rewardId)
        {
            ClaimRewardOperation operation = new ClaimRewardOperation(rewardId);

            return(new APICall <ClaimRewardOperation>(clubPenguinClient, operation));
        }
예제 #3
0
 protected override void PerformOfflineAction(OfflineDatabase offlineDatabase, IOfflineDefinitionLoader offlineDefinitions)
 {
     claimed = ClaimRewardOperation.ClaimReward(RewardId, out ResponseBody, offlineDatabase, offlineDefinitions);
 }