summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcG2C_ScenePrepareInfoNtf.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcG2C_ScenePrepareInfoNtf.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcG2C_ScenePrepareInfoNtf.cs36
1 files changed, 36 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcG2C_ScenePrepareInfoNtf.cs b/Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcG2C_ScenePrepareInfoNtf.cs
new file mode 100644
index 00000000..2afaeeb8
--- /dev/null
+++ b/Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcG2C_ScenePrepareInfoNtf.cs
@@ -0,0 +1,36 @@
+using System;
+using XMainClient.UI;
+using XMainClient.UI.UICommon;
+using XUtliPoolLib;
+
+namespace XMainClient
+{
+ internal class Process_PtcG2C_ScenePrepareInfoNtf
+ {
+ public static void Process(PtcG2C_ScenePrepareInfoNtf roPtc)
+ {
+ bool flag = XSingleton<XGame>.singleton.CurrentStage.Stage != EXStage.World;
+ if (!flag)
+ {
+ bool isPVPScene = XSingleton<XScene>.singleton.IsPVPScene;
+ if (isPVPScene)
+ {
+ DlgBase<BattleMain, BattleMainBehaviour>.singleton.SetLoadingPrompt(roPtc.Data.unreadyroles, true);
+ }
+ else
+ {
+ DlgBase<LoadingDlg, LoadingDlgBehaviour>.singleton.SetLoadingPrompt(roPtc.Data.unreadyroles);
+ }
+ for (int i = 0; i < roPtc.Data.unreadyroles.Count; i++)
+ {
+ XSingleton<XDebug>.singleton.AddGreenLog("roles: ", roPtc.Data.unreadyroles[i], " not ready yet.", null, null, null);
+ }
+ bool flag2 = roPtc.Data.unreadyroles.Count > 0;
+ if (flag2)
+ {
+ XSingleton<XDebug>.singleton.AddGreenLog("still has ", roPtc.Data.unreadyroles.Count.ToString(), " unready.", null, null, null);
+ }
+ }
+ }
+ }
+}