protected virtual T UnitAbilityTalentLifeCost(TooltipLife tooltipLife)
        {
            if (!string.IsNullOrEmpty(tooltipLife?.LifeCostTooltip?.RawDescription) && !FileOutputOptions.IsLocalizedText)
            {
                return(GetAbilityTalentLifeCostObject(tooltipLife));
            }

            return(null);
        }
Esempio n. 2
0
 protected override XElement GetAbilityTalentLifeCostObject(TooltipLife tooltipLife)
 {
     return(new XElement(
                "LifeTooltip",
                GetTooltip(tooltipLife.LifeCostTooltip, FileOutputOptions.DescriptionType)));
 }
 protected override JProperty GetAbilityTalentLifeCostObject(TooltipLife tooltipLife)
 {
     return(new JProperty("lifeTooltip", GetTooltip(tooltipLife.LifeCostTooltip !, FileOutputOptions.DescriptionType)));
 }
 protected abstract T GetAbilityTalentLifeCostObject(TooltipLife tooltipLife);