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.singleton.bSpectator && !DlgBase.singleton.IsVisible(); if (flag) { bool flag2 = DlgBase.singleton.IsVisible(); if (!flag2) { bool flag3 = DlgBase.singleton.IsVisible(); if (!flag3) { bool flag4 = DlgBase.singleton.BigRewardHandler != null && DlgBase.singleton.BigRewardHandler.IsVisible(); if (!flag4) { DlgBase.singleton.ShowBackToMainCityTips(); } } } } } } }