/// <summary> /// 유저정보 셋팅. /// </summary> private void SetOtherUserInfo(_stCharSimpleInfo kCharSimpleInfo) { m_UserNameLbl.text = kCharSimpleInfo.kDestCharName; m_LevLbl.text = string.Format("{0} {1}", StringTableManager.GetData(12), kCharSimpleInfo.kDestCharLevel); float fResult = UtilFunc.GetUserExpPercent(kCharSimpleInfo.kDestCharExp, kCharSimpleInfo.kDestCharExp); m_ExpImg.fillAmount = fResult; m_ExpPercentLbl.text = string.Format("{0:F2} {1}", (fResult * 100), "%"); // 대표 크리쳐 셋팅. string cretureName = CDATA_CREATURE_NEWVER.Get(kCharSimpleInfo.kDestCharLearderCreatureID).m_szIcon; m_MainCharImg.sprite2D = UIResourceMgr.CreateSprite(BUNDLELIST.TEXTURE_ICON_CREATUREHEAD, cretureName); #if VIP_SYSTEM DATA_VIP datavip = CDATA_VIP.Get(kCharSimpleInfo.kDestCharVIPLevel); if (datavip != null) { m_SprVipGrade.spriteName = datavip.szGradeImg; m_LabelVipGrade.text = string.Format(StringTableManager.GetData(4984), (int)kCharSimpleInfo.kDestCharVIPLevel); } #endif }