Пример #1
0
        //로드 부분
		public static void LoadFromXml(QuestTalk _talk, XmlNode _node)
		{
			_talk.ID = Convert.ToInt32(_node["ID"].InnerText);
			_talk.AddTalk(QuestProgressState.QUEST_PROGRESS_NOTHING, GetInnerText(_node, "Start"));
			_talk.AddTalk(QuestProgressState.QUEST_PROGRESS_IN, GetInnerText(_node, "Progress"));
			_talk.AddTalk(QuestProgressState.QUEST_PROGRESS_CLEAR, GetInnerText(_node, "Clear"));
		}
Пример #2
0
 public void Reset()
 {
     NowQuestProgressState = QuestProgressState.QUEST_PROGRESS_NOTHING;
     Info                  = new QuestInfo();
     Condition             = new QuestCondition();
     Preparation           = new QuestPreparation();
     Talk                  = new QuestTalk();
     Achievement           = new QuestAchievement();
     dicQuestTalks.Clear();
 }