少年修仙传客户端代码仓库
client_Zxw
2019-02-22 acfcd7af4539cbaf2e80064abedd0e764e733d54
System/MainInterfacePanel/MainInterfaceWin.cs
@@ -31,30 +31,30 @@
        [SerializeField] TeamInvitationEntrance m_TeamInvitationEntrance;
        [SerializeField] FairyCallMemberBehaviour m_FairyCallBehaviour;
        [SerializeField] MapSwitchingBehaviour m_MapSwitchingBehaviour;
        [SerializeField] Transform CopyOfThePanel;
        [SerializeField] DungeonBossBriefInfoContainer m_BossBriefInfos;
        [SerializeField] AnimationFadeOut m_AnimationFadeOut;
        [SerializeField] IntensifySmoothSlider _ExpSlider;//经验条
        [SerializeField] Button _DownButton;//查看经验数值
        [SerializeField] Text _ExpRate;//数值
        [SerializeField] UIEffect m_UIEffect_A;//经验特效
        [SerializeField] UIEffect m_UIEffect_B;//经验特效
        private float ExpValueFloat = 0;
        private bool SliderOpen = true;
        public static bool recordPositionBool = true;
        [SerializeField] GameObject m_TaskAndTeamTip;
        [SerializeField] Button _SwitchShowBtn;//切换按钮
        [SerializeField] Button m_TaskSwithButton;//关于功能预告     
        [SerializeField] Transform m_EffectTask;//任务完成特效播放位置
        private bool TaskSwithBool = true;
        [SerializeField] Button _SwitchShowBtn;//切换按钮
        [SerializeField] AnimationFadeOut m_AnimationFadeOut;
        [SerializeField] Transform CopyOfThePanel;
        [SerializeField] GameObject m_TaskAndTeamTip;
        [SerializeField] GameObject m_MailObj;//邮件显隐
        [SerializeField] ClickScreenOtherSpace _MarkRay;//便捷切换按钮            
        [SerializeField] MainPositionTween m_MainPositionTween;
        [SerializeField] MainButtonMisc m_MainButtonMisc;
        #region
        private bool TaskSwithBool = true;
        private float ExpValueFloat = 0;
        private bool SliderOpen = true;
        public static bool recordPositionBool = true;
        private int mapId = 0;
        public static event Action Event_ChatCallback;
        public static event Action<bool, float> Event_Duplicates;
@@ -282,15 +282,17 @@
                WindowCenter.Instance.Close<PathfindingIconWin>();
            }
        }
        private void CompletionOfTaskEvent(int obj)
        {
            EffectMgr.Instance.PlayUIEffect(1100, 1100, m_EffectTask, false);
        }
        protected override void OnAfterClose()
        {
        }
        #endregion
        private void CompletionOfTaskEvent(int obj)
        {
            EffectMgr.Instance.PlayUIEffect(1100, 1100, m_EffectTask, false);
        }
        private void secondEvent()
        {
            SetAtkType();
@@ -311,6 +313,7 @@
                UnFlodFunctionArea(true, 0);
            }
        }
        private void OnGuideBegin()//引导开始
        {
            if (!m_MainPositionTween.IsTaskAndPanelShow)
@@ -409,17 +412,12 @@
            }
            if (!onMainModel.ShieldedArea.Contains(PlayerDatas.Instance.baseData.MapID))//前四只Boss和活动Boss特殊处理
            {
            }
            else
            {
                if (IsBossBool && atkInt.Length > 1 && Buffmodel.PkType != 5)
                {
                    onMainModel.AreaState = Buffmodel.PkType;
                    DTCA202_tagMCAttackMode.Send_SwitchAttackMode((E_AttackMode)5);
                }
            }
        }
        private void SetAtkType()//逍遥城非boss区域特殊处理
@@ -434,8 +432,7 @@
                }
            }
        }
        public void MarkRayButton()
        {
            if (NewBieCenter.Instance.inGuiding)
@@ -471,10 +468,12 @@
                m_MainPositionTween.SetSkillTipOrRightTipPosTween(true);
            }
        }
        void DownButton(GameObject go)
        {
            _ExpRate.gameObject.SetActive(true);
        }
        void UpButton(GameObject go)
        {
            _ExpRate.gameObject.SetActive(false);
@@ -623,7 +622,7 @@
                IsCrossServerOneVsOne();
            }
        }
        #endregion
        private bool IsDungeon()
        {
@@ -733,6 +732,7 @@
            recordPositionBool = false;
            _MarkRay.gameObject.SetActive(true);
        }
        private void ShowCastSkill()//显示技能组,隐藏按钮组(强制切换)
        {
            m_MainPositionTween.SetSkillTipOrRightTipPos(true);
@@ -759,11 +759,13 @@
                m_TaskSwithButton.gameObject.SetActive(true);
            }
        }
        private void bossGrabHintEvent()
        {
            IsShowTaskPanel();
            AtkTypeChange();
        }
        private void IsCrossServerOneVsOne()
        {
            if (CrossServerUtility.IsCrossServerOneVsOne())//是否再跨服副本中
@@ -798,6 +800,7 @@
                }
            }
        }
        private void SetTipPanelOrBossList(bool _bool, bool _isTween)//顶层按钮组和boss列表的相互切换
        {
            var inDungeon = IsDungeon();