Ejemplo n.º 1
0
        // Token: 0x0600BD64 RID: 48484 RVA: 0x0034FD58 File Offset: 0x0034DF58
        public void ShowOrder(bool isFirst, Action onEnd = null)
        {
            if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_ShowOrderBooleanAction_hotfix != null)
            {
                this.m_ShowOrderBooleanAction_hotfix.call(new object[]
                {
                    this,
                    isFirst,
                    onEnd2
                });
                return;
            }
            BJLuaObjHelper.IsSkipLuaHotfix = false;
            Action onEnd = onEnd2;
            PVPBattlePrepareUIController $this = this;
            string text = (!isFirst) ? "AfterLeft" : "FirstLeft";

            if (UIUtility.GetUIStateCurrentStateName(this.m_orderUIStateController) == text)
            {
                if (onEnd != null)
                {
                    onEnd();
                }
                return;
            }
            this.m_orderUIStateController.gameObject.SetActive(true);
            UIUtility.SetUIStateOpen(this.m_orderUIStateController, text, delegate
            {
                $this.m_orderUIStateController.gameObject.SetActive(false);
                if (onEnd != null)
                {
                    onEnd();
                }
            }, false, true);
        }
Ejemplo n.º 2
0
        // Token: 0x0600BD69 RID: 48489 RVA: 0x003501A4 File Offset: 0x0034E3A4
        public void ShowBanIndicator(int side)
        {
            if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_ShowBanIndicatorInt32_hotfix != null)
            {
                this.m_ShowBanIndicatorInt32_hotfix.call(new object[]
                {
                    this,
                    side2
                });
                return;
            }
            BJLuaObjHelper.IsSkipLuaHotfix = false;
            int side = side2;
            PVPBattlePrepareUIController $this = this;

            if (UIUtility.GetUIStateCurrentStateName(this.m_prepareMyStateTextUIStateController) == "KickOut")
            {
                return;
            }
            UIUtility.SetUIStateClose(this.m_prepareOpponentUIStateController, "Close", null, false, true);
            this.m_prepareMyStateTextUIStateController.SetToUIState("KickOut", false, true);
            this.m_prepareMyTimeUIStateController.gameObject.SetActive(false);
            UIUtility.SetUIStateOpen(this.m_prepareMyStateUIStateController, "Show2", delegate
            {
                UIUtility.SetUIStateOpen($this.m_prepareMyTimeUIStateController, "Show", null, false, true);
                string stateName = (side != 0) ? "RightKickOut" : "LeftKickOut";
                UIUtility.SetUIStateOpen($this.m_protectBanGroupUIStateController, stateName, null, false, true);
                $this.m_banUIStateController.SetToUIState("Show", false, true);
            }, false, true);
        }
Ejemplo n.º 3
0
 // Token: 0x0600BD89 RID: 48521 RVA: 0x00350CD8 File Offset: 0x0034EED8
 public LuaExportHelper(PVPBattlePrepareUIController owner)
 {
     this.m_owner = owner;
 }