protected override void PerformOfflineAction(OfflineDatabase offlineDatabase, IOfflineDefinitionLoader offlineDefinitions) { QuestStatus questStatus = (QuestStatus)Enum.Parse(typeof(QuestStatus), RequestBody); if (questStatus != 0 && questStatus != QuestStatus.LOCKED) { ResponseBody = SetStatusOperation.SetStatus(questStatus, QuestId, offlineDatabase, offlineDefinitions); } }
public APICall <SetStatusOperation> SetStatus(string questId, QuestStatus status) { SetStatusOperation operation = new SetStatusOperation(questId, status); return(new APICall <SetStatusOperation>(clubPenguinClient, operation)); }