コード例 #1
0
 /// <summary>
 /// 選択肢など連続するタイプのコマンドの場合は、連続が途切れたら終了コマンドを追加
 /// </summary>
 /// <param name="continuousCommand">連続しているコマンド</param>
 /// <param name="currentCommand">現在のコマンド</param>
 void TryAddContinusCommand(AdvCommand continuousCommand, AdvCommand currentCommand)
 {
     if (continuousCommand != null)
     {
         if (currentCommand == null || !continuousCommand.CheckContinues(currentCommand))
         {
             AddCommand(AdvCommandParser.CreateContiunesEndCommand(continuousCommand));
         }
     }
 }
コード例 #2
0
 /// <summary>
 /// 選択肢など連続するタイプのコマンドの場合は、連続が途切れたら終了コマンドを追加
 /// </summary>
 /// <param name="continuousCommand">連続しているコマンド</param>
 /// <param name="currentCommand">現在のコマンド</param>
 void TryAddContinusCommand(AdvCommand continuousCommand, AdvCommand currentCommand, List <AdvCommand> commandList, AdvSettingDataManager dataManager)
 {
     if (continuousCommand != null)
     {
         if (currentCommand == null || !continuousCommand.CheckContinues(currentCommand))
         {
             AdvCommand command = AdvCommandParser.CreateContiunesEndCommand(continuousCommand, dataManager);
             if (null != command)
             {
                 commandList.Add(command);
             }
         }
     }
 }