예제 #1
0
 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());
     }
 }
예제 #2
0
 void ShowComparePower(GameItem equip)
 {
     //m_ComparePowerLabel.text = "战斗力: " + equip.GetCombatValue().ToString();
     m_ComparePowerLabel.text = StrDictionary.GetClientDictionaryString("#{2829}", equip.GetCombatValue());
 }
예제 #3
0
    private void SetFightValue(GameItem item)
    {
        int CombatValue = item.GetCombatValue();

        m_FightValueLabel.text = "[ffff69]" + StrDictionary.GetClientDictionaryString("#{1241}", CombatValue);
    }