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

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

            m_skillImage = new AuxDynImageStaticGOImage();
        }
示例#3
0
 public JobCard(JobSelectData data, int tag_, EnPlayerCareer ccc) :
     base(data)
 {
     m_tag        = tag_;
     m_career     = ccc;
     m_jobCardBtn = new AuxDynImageDynGOImage();
 }
示例#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();
        }
示例#5
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();
        }
示例#6
0
 public JobCard(JobSelectData data, int tag_, EnPlayerCareer ccc):
     base(data)
 {
     m_tag = tag_;
     m_career = ccc;
     m_jobCardBtn = new AuxDynImageDynGOImage();
 }
示例#7
0
        // 初始化控件
        override public void onReady()
        {
            base.onReady();
            m_jobSelectData        = new JobSelectData(); // 最先初始化全局数据
            m_jobSelectData.m_form = this;

            findWidget();
            addEventHandle();

            m_jobSelectData.init();
        }
示例#8
0
 public JobSelLeftPnl(JobSelectData data) :
     base(data)
 {
 }
示例#9
0
 public JobSelProg(JobSelectData data) :
     base(data)
 {
 }
示例#10
0
 public JobSelLeftPnl(JobSelectData data):
     base(data)
 {
     
 }
示例#11
0
 public JobSelPnlBase(JobSelectData data)
 {
     m_jobSelectData = data;
 }
示例#12
0
 public JobSelPnlBase(JobSelectData data)
 {
     m_jobSelectData = data;
 }
示例#13
0
        public JobSelProg(JobSelectData data):
            base(data)
        {

        }