public JobSelRightPnl(JobSelectData data) : base(data) { m_jobSelProg = new JobSelProg(m_jobSelectData); m_skillImage = new AuxDynImageStaticGOImage(); }
public JobCard(JobSelectData data, int tag_, EnPlayerCareer ccc) : base(data) { m_tag = tag_; m_career = ccc; m_jobCardBtn = new AuxDynImageDynGOImage(); }
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(); }
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(); }
public JobCard(JobSelectData data, int tag_, EnPlayerCareer ccc): base(data) { m_tag = tag_; m_career = ccc; m_jobCardBtn = new AuxDynImageDynGOImage(); }
// 初始化控件 override public void onReady() { base.onReady(); m_jobSelectData = new JobSelectData(); // 最先初始化全局数据 m_jobSelectData.m_form = this; findWidget(); addEventHandle(); m_jobSelectData.init(); }
public JobSelLeftPnl(JobSelectData data) : base(data) { }
public JobSelProg(JobSelectData data) : base(data) { }
public JobSelLeftPnl(JobSelectData data): base(data) { }
public JobSelPnlBase(JobSelectData data) { m_jobSelectData = data; }
public JobSelProg(JobSelectData data): base(data) { }