示例#1
0
        public JobSelRightPnl(JobSelectData data) :
            base(data)
        {
            m_jobSelProg = new JobSelProg(m_jobSelectData);

            m_skillImage = new AuxDynImageStaticGOImage();
        }
示例#2
0
        public JobSelMidPnl(JobSelectData data) :
            base(data)
        {
            m_jobCardList = new List<JobCard>();
            if (JobSelectMode.eNewCardSet == Ctx.m_instance.m_auxUIHelp.m_auxJobSelectData.jobSelectMode)
            {
                m_cardCount = (int)EnPlayerCareer.ePCTotal - 1;     // 没有中立
            }
            else if (JobSelectMode.eDz == Ctx.m_instance.m_auxUIHelp.m_auxJobSelectData.jobSelectMode)
            {
                m_cardCount = Ctx.m_instance.m_dataPlayer.m_dataCard.m_cardGroupListArr.Count;
            }

            for (int idx = 0; idx < m_cardCount; ++idx)
            {
                if (JobSelectMode.eNewCardSet == Ctx.m_instance.m_auxUIHelp.m_auxJobSelectData.jobSelectMode)
                {
                    m_jobCardList.Add(new JobCard(m_jobSelectData, idx, (EnPlayerCareer)(idx + 1)));    // 职业从 1 开始
                }
                else if (JobSelectMode.eDz == Ctx.m_instance.m_auxUIHelp.m_auxJobSelectData.jobSelectMode)
                {
                    m_jobCardList.Add(new JobCard(m_jobSelectData, idx, (EnPlayerCareer)Ctx.m_instance.m_dataPlayer.m_dataCard.m_cardGroupListArr[idx].m_cardGroup.occupation));
                    m_jobCardList[idx].cardGroupItem = Ctx.m_instance.m_dataPlayer.m_dataCard.m_cardGroupListArr[idx];
                }
            }

            m_jobSelProg = new JobSelProg(m_jobSelectData);
            m_auxLayoutH = new AuxLayoutH();
            m_auxLayoutH.elemWidth = 445;
            m_auxLayoutH.elemHeight = 500;

            m_jobNameImage = new AuxDynImageStaticGOImage();
        }
示例#3
0
        public JobSelRightPnl(JobSelectData data) :
            base(data)
        {
            m_jobSelProg = new JobSelProg(m_jobSelectData);

            m_skillImage = new AuxDynImageStaticGOImage();
        }
示例#4
0
        public JobSelMidPnl(JobSelectData data) :
            base(data)
        {
            m_jobCardList = new List <JobCard>();
            if (JobSelectMode.eNewCardSet == Ctx.m_instance.m_auxUIHelp.m_auxJobSelectData.jobSelectMode)
            {
                m_cardCount = (int)EnPlayerCareer.ePCTotal - 1;     // 没有中立
            }
            else if (JobSelectMode.eDz == Ctx.m_instance.m_auxUIHelp.m_auxJobSelectData.jobSelectMode)
            {
                m_cardCount = Ctx.m_instance.m_dataPlayer.m_dataCard.m_cardGroupListArr.Count;
            }

            for (int idx = 0; idx < m_cardCount; ++idx)
            {
                if (JobSelectMode.eNewCardSet == Ctx.m_instance.m_auxUIHelp.m_auxJobSelectData.jobSelectMode)
                {
                    m_jobCardList.Add(new JobCard(m_jobSelectData, idx, (EnPlayerCareer)(idx + 1)));    // 职业从 1 开始
                }
                else if (JobSelectMode.eDz == Ctx.m_instance.m_auxUIHelp.m_auxJobSelectData.jobSelectMode)
                {
                    m_jobCardList.Add(new JobCard(m_jobSelectData, idx, (EnPlayerCareer)Ctx.m_instance.m_dataPlayer.m_dataCard.m_cardGroupListArr[idx].m_cardGroup.occupation));
                    m_jobCardList[idx].cardGroupItem = Ctx.m_instance.m_dataPlayer.m_dataCard.m_cardGroupListArr[idx];
                }
            }

            m_jobSelProg            = new JobSelProg(m_jobSelectData);
            m_auxLayoutH            = new AuxLayoutH();
            m_auxLayoutH.elemWidth  = 445;
            m_auxLayoutH.elemHeight = 500;

            m_jobNameImage = new AuxDynImageStaticGOImage();
        }