private void OnClickMyInfo(IUIObject obj) { this.tb_Rank.Control_Tab[0].spriteText.transform.localPosition = new Vector3(this.disablePosition[0].x, this.disablePosition[0].y, this.disablePosition[0].z - 0.1f); this.tb_Rank.Control_Tab[0].spriteTextShadow.transform.localPosition = this.disablePosition[0]; this.tb_Rank.Control_Tab[1].spriteText.transform.localPosition = new Vector3(this.disablePosition[1].x, this.disablePosition[1].y, this.disablePosition[1].z - 0.1f); this.tb_Rank.Control_Tab[1].spriteTextShadow.transform.localPosition = this.disablePosition[1]; this.tb_Rank.Control_Tab[2].spriteText.transform.localPosition = new Vector3(this.enablePosition[2].x, this.enablePosition[2].y, this.enablePosition[2].z - 0.1f); this.tb_Rank.Control_Tab[2].spriteTextShadow.transform.localPosition = this.enablePosition[2]; this.tb_Rank.Control_Tab[0].SetText(NrTSingleton <CTextParser> .Instance.GetTextColor("1102") + this.tb_Rank.Control_Tab[0].GetText()); this.tb_Rank.Control_Tab[1].SetText(NrTSingleton <CTextParser> .Instance.GetTextColor("1102") + this.tb_Rank.Control_Tab[1].GetText()); this.tb_Rank.Control_Tab[2].SetText(NrTSingleton <CTextParser> .Instance.GetTextColor("1002") + this.tb_Rank.Control_Tab[2].GetText()); GS_MYTHRAID_CHARINFO_ACK myInfo = NrTSingleton <MythRaidManager> .Instance.GetMyInfo(); string targetText = "-"; string targetText2 = "-"; string targetText3 = "-"; string targetText4 = "-"; if (myInfo.soloRank > 0) { targetText = myInfo.soloRank.ToString(); } if (myInfo.partyRank > 0) { targetText2 = myInfo.partyRank.ToString(); } if (myInfo.soloDamage > 0L) { targetText3 = myInfo.soloDamage.ToString(); } if (myInfo.partyDamage > 0L) { targetText4 = myInfo.partyDamage.ToString(); } NrTSingleton <UILabelAnimationManager> .Instance.TextUpdateAndPlayAni(this.lb_SolRank, targetText); NrTSingleton <UILabelAnimationManager> .Instance.PrevDataDelete(this.lb_SolRank); NrTSingleton <UILabelAnimationManager> .Instance.TextUpdateAndPlayAni(this.lb_PartyRank, targetText2); NrTSingleton <UILabelAnimationManager> .Instance.PrevDataDelete(this.lb_PartyRank); NrTSingleton <UILabelAnimationManager> .Instance.TextUpdateAndPlayAni(this.lb_SolDamage, targetText3); NrTSingleton <UILabelAnimationManager> .Instance.PrevDataDelete(this.lb_SolDamage); NrTSingleton <UILabelAnimationManager> .Instance.TextUpdateAndPlayAni(this.lb_PartyDamage, targetText4); NrTSingleton <UILabelAnimationManager> .Instance.PrevDataDelete(this.lb_PartyDamage); base.SetShowLayer(1, false); base.SetShowLayer(2, true); base.SetShowLayer(3, false); }
public void SetMyInfo(GS_MYTHRAID_CHARINFO_ACK _info) { this.myInfo.nRaidType = _info.nRaidType; this.myInfo.clearRound = _info.clearRound; this.myInfo.upRankDamage = _info.upRankDamage; this.myInfo.nRaidSeason = _info.nRaidSeason; if (_info.soloRank == -1) { this.myInfo.partyRank = _info.partyRank; this.myInfo.partyDamage = _info.partyDamage; } else { this.myInfo.soloDamage = _info.soloDamage; this.myInfo.soloRank = _info.soloRank; } this.SetDlg(); }
private MythRaidManager() { this.myInfo = new GS_MYTHRAID_CHARINFO_ACK(); }