修复思考动作显示错误
@ -211,7 +211,7 @@ namespace VPet_Simulator.Core
|
||||
else
|
||||
{
|
||||
Control.Type = TaskControl.ControlType.Status_Stoped;
|
||||
Control.EndAction?.Invoke(); //运行结束动画时事件
|
||||
Control.EndAction?.Invoke(); //运行结束动画时事件
|
||||
return;
|
||||
}
|
||||
//要下一步
|
||||
|
@ -71,16 +71,20 @@ namespace VPet_Simulator.Windows.Interface
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 显示思考结束动画
|
||||
/// 显示思考结束并说话
|
||||
/// </summary>
|
||||
public void DisplayThinkEnd(Action Next = null)
|
||||
public void DisplayThinkToSayRnd(string text, string desc = null)
|
||||
{
|
||||
var think = MainPlugin.MW.Core.Graph.FindGraphs("think", AnimatType.C_End, MainPlugin.MW.Core.Save.Mode);
|
||||
Next ??= MainPlugin.MW.Main.DisplayToNomal;
|
||||
Action Next = () => { MainPlugin.MW.Main.SayRnd(text, true, desc); };
|
||||
if (think.Count > 0)
|
||||
{
|
||||
MainPlugin.MW.Main.Display(think[Function.Rnd.Next(think.Count)], Next);
|
||||
}
|
||||
else
|
||||
{
|
||||
Next();
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 聊天设置
|
||||
|
@ -359,7 +359,11 @@ namespace VPet_Simulator.Windows
|
||||
#endif
|
||||
}
|
||||
public bool IsOnMOD(MainWindow mw) => mw.Set.IsOnMod(Name);
|
||||
#if DEBUG
|
||||
public bool IsPassMOD(MainWindow mw) => true;
|
||||
#else
|
||||
public bool IsPassMOD(MainWindow mw) => mw.Set.IsPassMOD(Name);
|
||||
#endif
|
||||
|
||||
public void WriteFile()
|
||||
{
|
||||
|
@ -269,7 +269,7 @@ namespace VPet_Simulator.Windows
|
||||
{
|
||||
if (winMutiPlayer == null)
|
||||
{
|
||||
winInputBox.Show(this, "请输入访客表ID".Translate(), "加入访客表".Translate(), "", (id) =>
|
||||
winInputBox.Show(this, "请输入访客表ID".Translate(), "加入访客表".Translate(), "1860000", (id) =>
|
||||
{
|
||||
if (ulong.TryParse(id, NumberStyles.HexNumber, null, out ulong lid))
|
||||
{
|
||||
|
@ -19,7 +19,7 @@ public partial class MainWindow
|
||||
/// <summary>
|
||||
/// 版本号
|
||||
/// </summary>
|
||||
public int version { get; } = 11011;
|
||||
public int version { get; } = 11012;
|
||||
/// <summary>
|
||||
/// 版本号
|
||||
/// </summary>
|
||||
|
Before Width: | Height: | Size: 216 KiB After Width: | Height: | Size: 216 KiB |
Before Width: | Height: | Size: 209 KiB After Width: | Height: | Size: 209 KiB |
Before Width: | Height: | Size: 209 KiB After Width: | Height: | Size: 209 KiB |
Before Width: | Height: | Size: 216 KiB After Width: | Height: | Size: 216 KiB |