From 6eb915c129fc90c6f4c82ae097dd6ffad5239efc Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 25 Jan 2021 14:28:30 +0800 Subject: +scripts --- .../Process_PtcG2C_BattleFieldReadyInfoNtf.cs | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcG2C_BattleFieldReadyInfoNtf.cs (limited to 'Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcG2C_BattleFieldReadyInfoNtf.cs') diff --git a/Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcG2C_BattleFieldReadyInfoNtf.cs b/Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcG2C_BattleFieldReadyInfoNtf.cs new file mode 100644 index 00000000..1dbd421f --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcG2C_BattleFieldReadyInfoNtf.cs @@ -0,0 +1,30 @@ +using System; +using XMainClient.UI; +using XMainClient.UI.UICommon; + +namespace XMainClient +{ + internal class Process_PtcG2C_BattleFieldReadyInfoNtf + { + public static void Process(PtcG2C_BattleFieldReadyInfoNtf roPtc) + { + bool flag = DlgBase.singleton._WaitHandler != null && roPtc.Data.failedSpecified && roPtc.Data.failed; + if (flag) + { + DlgBase.singleton._WaitHandler.NextWaitStart(); + } + bool flag2 = DlgBase.singleton._WaitHandler != null && roPtc.Data.endSpecified && roPtc.Data.end; + if (flag2) + { + DlgBase.singleton._WaitHandler.SetWaitEnd(); + } + XSkyArenaEntranceDocument specificDocument = XDocuments.GetSpecificDocument(XSkyArenaEntranceDocument.uuID); + specificDocument.SetTime(roPtc.Data.time); + bool flag3 = DlgBase.singleton._WaitHandler != null && roPtc.Data.roundSpecified; + if (flag3) + { + DlgBase.singleton._WaitHandler.RefreshMapName((int)roPtc.Data.round); + } + } + } +} -- cgit v1.1-26-g67d0