diff options
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcG2C_NotifyRoleEmpty2Watcher.cs')
-rw-r--r-- | Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcG2C_NotifyRoleEmpty2Watcher.cs | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcG2C_NotifyRoleEmpty2Watcher.cs b/Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcG2C_NotifyRoleEmpty2Watcher.cs new file mode 100644 index 00000000..0988bd99 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcG2C_NotifyRoleEmpty2Watcher.cs @@ -0,0 +1,31 @@ +using System;
+using XMainClient.UI;
+using XMainClient.UI.UICommon;
+using XUtliPoolLib;
+
+namespace XMainClient
+{
+ internal class Process_PtcG2C_NotifyRoleEmpty2Watcher
+ {
+ public static void Process(PtcG2C_NotifyRoleEmpty2Watcher roPtc)
+ {
+ bool flag = XSingleton<XScene>.singleton.bSpectator && !DlgBase<SpectateLevelRewardView, SpectateLevelRewardBehaviour>.singleton.IsVisible();
+ if (flag)
+ {
+ bool flag2 = DlgBase<GuildArenaDefeatDlg, GuildArenaDefeatBehaviour>.singleton.IsVisible();
+ if (!flag2)
+ {
+ bool flag3 = DlgBase<SpectateView, SpectateBehaviour>.singleton.IsVisible();
+ if (!flag3)
+ {
+ bool flag4 = DlgBase<XTeamLeagueBattlePrepareView, XTeamLeagueBattlePrepareBehaviour>.singleton.BigRewardHandler != null && DlgBase<XTeamLeagueBattlePrepareView, XTeamLeagueBattlePrepareBehaviour>.singleton.BigRewardHandler.IsVisible();
+ if (!flag4)
+ {
+ DlgBase<SpectateSceneView, SpectateSceneBehaviour>.singleton.ShowBackToMainCityTips();
+ }
+ }
+ }
+ }
+ }
+ }
+}
|