void ShowEquipPower(GameItem equip) { if (equip != null && equip.IsValid()) { //m_EquipPowerLabel.text = "战斗力: " + equip.GetCombatValue().ToString(); m_EquipPowerLabel.text = equip.GetCombatValue().ToString(); //m_EquipPowerLabel.text = StrDictionary.GetClientDictionaryString("#{2829}", equip.GetCombatValue()); } }
void ShowComparePower(GameItem equip) { //m_ComparePowerLabel.text = "战斗力: " + equip.GetCombatValue().ToString(); m_ComparePowerLabel.text = StrDictionary.GetClientDictionaryString("#{2829}", equip.GetCombatValue()); }
private void SetFightValue(GameItem item) { int CombatValue = item.GetCombatValue(); m_FightValueLabel.text = "[ffff69]" + StrDictionary.GetClientDictionaryString("#{1241}", CombatValue); }