public void startTaskDialog(int dialogId)
        {
            _dialogId = dialogId;
            MTBDialogueData dialogueData = MTBDialogueDataManager.Instance.getData(_curTaskId, _dialogId);

            _dialog.startDialog(dialogueData);
        }
Exemplo n.º 2
0
 public void decode(XmlElement node)
 {
     id = Convert.ToInt32(node.GetAttribute("id"));
     name = node.GetAttribute("name");
     XmlNodeList nodeList = node.GetElementsByTagName("Dialogue");
     dialogueDataList = new Dictionary<int, MTBDialogueData>();
     foreach (XmlElement item in nodeList)
     {
         MTBDialogueData data = new MTBDialogueData();
         data.decode(item);
         dialogueDataList.Add(data.id, data);
     }
 }
Exemplo n.º 3
0
 public virtual void startDialog(MTBDialogueData data)
 {
     _dialogData = data;
     _stepId     = 1;
     showNextStep(_stepId);
 }