Пример #1
0
        /// <summary>
        /// Gets the next dialog.
        /// </summary>
        /// <returns>The next dialog.</returns>
        public List <string> GetNextDialog()
        {
            List <string> returnList = null;
            bool          isOption   = dialogParser.IsOption;

            returnList = GetNextInfosAsString();
            if (isOption)
            {
                returnList = DialogOptionManager.FormatOptions(dialogParser);
            }
            return(returnList);
        }
Пример #2
0
 /// <summary>
 /// Ermittelt, ob der nächste Dialog ein Optionsdialog ist
 /// </summary>
 /// <returns><c>true</c>, if dialog option was nexted, <c>false</c> otherwise.</returns>
 public bool NextDialogOption()
 {
     return(DialogOptionManager.NextDialogOption(dialogFilter.DialogParser));
 }
Пример #3
0
 /// <summary>
 /// Sets the index of the chosen option.
 /// </summary>
 /// <param name="index">Index.</param>
 public void SetChosenOptionIndex(int index)
 {
     DialogOptionManager.SetChosenOptionIndex(index, dialogFilter.DialogParser);
 }