protected override void SetOfflineData(OfflineDatabase offlineDatabase, IOfflineDefinitionLoader offlineDefinitions) { ClaimRewardResponse responseBody = new ClaimRewardResponse(); ClaimRewardOperation.ClaimReward(RewardId, out responseBody, offlineDatabase, offlineDefinitions); }
public APICall <ClaimRewardOperation> ClaimReward(int rewardId) { ClaimRewardOperation operation = new ClaimRewardOperation(rewardId); return(new APICall <ClaimRewardOperation>(clubPenguinClient, operation)); }
protected override void PerformOfflineAction(OfflineDatabase offlineDatabase, IOfflineDefinitionLoader offlineDefinitions) { claimed = ClaimRewardOperation.ClaimReward(RewardId, out ResponseBody, offlineDatabase, offlineDefinitions); }