diff --git a/VPet-Simulator.Windows/MutiPlayer/winMutiPlayer.xaml.cs b/VPet-Simulator.Windows/MutiPlayer/winMutiPlayer.xaml.cs index 0284188..76c5246 100644 --- a/VPet-Simulator.Windows/MutiPlayer/winMutiPlayer.xaml.cs +++ b/VPet-Simulator.Windows/MutiPlayer/winMutiPlayer.xaml.cs @@ -33,6 +33,13 @@ public partial class winMutiPlayer : WindowX, IMPWindows public winMutiPlayer(MainWindow mw, ulong? lobbyid = null) { InitializeComponent(); + if(mw.Core.Save.Mode == IGameSave.ModeType.Ill) + { + MessageBoxX.Show("{0}生病了,无法创建或者加入访客表".Translate()); + Close(); + return; + } + swAllowTouch.IsChecked = !mw.Set.MPNOTouch; this.mw = mw; if (lobbyid == null) @@ -194,7 +201,16 @@ public partial class winMutiPlayer : WindowX, IMPWindows private void Main_TimeHandle(Main obj) { - + if (mw.GameSavesData.GameSave.Mode == IGameSave.ModeType.Ill) + {//生病自动退出访客表 + ClosingMutiPlayer?.Invoke(); + isOPEN = false; + lb.Leave(); + lb = default; + MessageBoxX.Show("{0}生病了,已自动退出访客表".Translate(obj.Core.Save.Name)); + Close(); + return; + } lb.SetMemberData("save", mw.GameSavesData.GameSave.ToLine().ToString()); } diff --git a/VPet-Simulator.Windows/mod/0000_core/lang/en/Base2403.lps b/VPet-Simulator.Windows/mod/0000_core/lang/en/Base2403.lps index 3104b88..32a5add 100644 --- a/VPet-Simulator.Windows/mod/0000_core/lang/en/Base2403.lps +++ b/VPet-Simulator.Windows/mod/0000_core/lang/en/Base2403.lps @@ -19,7 +19,7 @@ {0}的{1}#{0}'s {1}:| {0}在捏{1}的脸#{0} is pinching {1}'s face.:| {0} 悄悄地对你说: {1}#{0} Whispering to you, {1}:| -{0} 对你说: {1}#{0} Says to you: {1}:| +{0} 对 {2} 说: {1}#{0} Says to {2}: {1}:| {0} 对大家说: {1}#{0} To all of you, say: {1}:| 和{0}悄悄说#Whisper to {0}:| 和{0}说#Say it with {0}:| @@ -76,4 +76,6 @@ OPPOSans R#OPPOSans R:| 得意黑#DeYi Black:| 原版默认#Original Default:| 混色紫#Mixed Purple:| -当前工作数据属性超模,已自动取消#The current work data attribute is supermodel, and it has been automatically cancelled:| \ No newline at end of file +当前工作数据属性超模,已自动取消#The current work data attribute is supermodel, and it has been automatically cancelled:| +{0}生病了,已自动退出访客表#{0} is sick and has automatically exited the Guest List:| +{0}生病了,无法创建或者加入访客表#{0} is sick and cannot create or join a Guest List:| \ No newline at end of file diff --git a/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hans/Base2403.lps b/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hans/Base2403.lps index 6344ef9..42aa58a 100644 --- a/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hans/Base2403.lps +++ b/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hans/Base2403.lps @@ -19,7 +19,7 @@ {0}的{1}#{0}的{1}:| {0}在捏{1}的脸#{0}在捏{1}的脸:| {0} 悄悄地对你说: {1}#{0} 悄悄地对你说: {1}:| -{0} 对你说: {1}#{0} 对你说: {1}:| +{0} 对 {2} 说: {1}#{0} 对 {2} 说: {1}:| {0} 对大家说: {1}#{0} 对大家说: {1}:| 和{0}悄悄说#和{0}悄悄说:| 和{0}说#和{0}说:| @@ -76,4 +76,6 @@ OPPOSans R#OPPOSans R:| 得意黑#得意黑:| 原版默认#原版默认:| 混色紫#混色紫:| -当前工作数据属性超模,已自动取消#当前工作数据属性超模,已自动取消:| \ No newline at end of file +当前工作数据属性超模,已自动取消#当前工作数据属性超模,已自动取消:| +{0}生病了,已自动退出访客表#{0}生病了,已自动退出访客表:| +{0}生病了,无法创建或者加入访客表#{0}生病了,无法创建或者加入访客表:| \ No newline at end of file diff --git a/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2403.lps b/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2403.lps index 214a71a..1490753 100644 --- a/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2403.lps +++ b/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2403.lps @@ -19,7 +19,7 @@ {0}的{1}#{0}的{1}:| {0}在捏{1}的脸#{0}在捏{1}的臉:| {0} 悄悄地对你说: {1}#{0} 悄悄地對你說: {1}:| -{0} 对你说: {1}#{0} 對你說: {1}:| +{0} 对 {2} 说: {1}#{0} 對 {2} 說: {1}:| {0} 对大家说: {1}#{0} 對大家說: {1}:| 和{0}悄悄说#和{0}悄悄說:| 和{0}说#和{0}說:| @@ -76,4 +76,6 @@ OPPOSans R#OPPOSans R:| 得意黑#得意黑:| 原版默认#原版默認:| 混色紫#混色紫:| -当前工作数据属性超模,已自动取消#目前工作數據屬性超模,已自動取消:| \ No newline at end of file +当前工作数据属性超模,已自动取消#目前工作數據屬性超模,已自動取消:| +{0}生病了,已自动退出访客表#{0}生病了,已自動退出訪客表:| +{0}生病了,无法创建或者加入访客表#{0}生病了,無法建立或加入訪客表:| \ No newline at end of file