public void QuestReward(QuestInfo quest) { QuestRewardCode rewardCode = quest.quest_reward_type; switch (rewardCode) { case QuestRewardCode.Equipment: //********************아이템 얻는 코드************************ sc.UnlockCode(quest.quest_reward_item); //************************************************************ break; case QuestRewardCode.Only_Gold: //********************골드 얻는 코드************************ capital.PlusMoney(quest.quest_reward_gold); //************************************************************ break; case QuestRewardCode.Repair_Coupon: //********************쿠폰 얻는 코드************************ capital.PlusCoupon(1); //************************************************************ break; case QuestRewardCode.Skill: //********************스킬 얻는 코드************************ sc.UnlockCode(quest.quest_reward_item); //************************************************************ break; } }