生病时无法加入访客表

This commit is contained in:
ZouJin 2024-04-09 17:32:48 +08:00
parent 984361bd97
commit bb9dbe35dc
4 changed files with 29 additions and 7 deletions

View File

@ -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());
}

View File

@ -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:|
当前工作数据属性超模,已自动取消#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:|

View File

@ -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:|
得意黑#得意黑:|
原版默认#原版默认:|
混色紫#混色紫:|
当前工作数据属性超模,已自动取消#当前工作数据属性超模,已自动取消:|
当前工作数据属性超模,已自动取消#当前工作数据属性超模,已自动取消:|
{0}生病了,已自动退出访客表#{0}生病了,已自动退出访客表:|
{0}生病了,无法创建或者加入访客表#{0}生病了,无法创建或者加入访客表:|

View File

@ -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:|
得意黑#得意黑:|
原版默认#原版默認:|
混色紫#混色紫:|
当前工作数据属性超模,已自动取消#目前工作數據屬性超模,已自動取消:|
当前工作数据属性超模,已自动取消#目前工作數據屬性超模,已自動取消:|
{0}生病了,已自动退出访客表#{0}生病了,已自動退出訪客表:|
{0}生病了,无法创建或者加入访客表#{0}生病了,無法建立或加入訪客表:|