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);
            }
        }
示例#2
0
        public APICall <SetStatusOperation> SetStatus(string questId, QuestStatus status)
        {
            SetStatusOperation operation = new SetStatusOperation(questId, status);

            return(new APICall <SetStatusOperation>(clubPenguinClient, operation));
        }