コード例 #1
0
        private void ConfirmQuestAndUpdateWallet(int questId)
        {
            var questToConfirm = _ownedQuestStudentDAO.FetchAllRecords().SingleOrDefault(q => q.Id == questId);

            questToConfirm.CompletionStatus = CompletionStatus.Finished;
            _ownedQuestStudentDAO.UpdateRecord(questToConfirm);
            AddCoolCoinsIfAccomplished(questToConfirm);
        }