public void ShowDialog(DetectDialog dd)
 {
     ps.SwitchTo_VerifyIterative("Invest_Panel", () =>
     {
         ShowCharaContainer();
         //添加已知信息
         currentDetectNode.SetKnown(dd.title);
         //转换脚本入口
         currentDetectNode.ChooseNext(dd.entry);
     });
 }
Beispiel #2
0
 /// <summary>
 /// 检测是否可以显示
 /// </summary>
 /// <param name="dialog">需要检测的对话框</param>
 public bool IsVisible(DetectDialog dialog)
 {
     return(dialog.condition.Except(knownInfo).Count() == 0);
 }
Beispiel #3
0
 /// <summary>
 /// 检测已知信息内是否含有该条
 /// </summary>
 /// <param name="dialog">需要检测的对话框</param>
 public bool IsReaded(DetectDialog dialog)
 {
     //return knownInfo.Contains(dialog.info);
     return(knownInfo.Contains(dialog.title));
 }
 /// <summary>
 /// 检测已知信息内是否含有该条
 /// </summary>
 /// <param name="dialog">需要检测的对话框</param>
 public bool IsReaded(DetectDialog dialog)
 {
     return(knownInfo.Contains(dialog.info));
 }