/// <summary> /// layer:用户自定义层数 /// </summary> /// <param name="isIgnoreName"></param> /// <param name="isColor"></param> /// <param name="layer"></param> /// <returns></returns> public string GetDescByLayer(bool isIgnoreName = false, bool isColor = true, int layer = 1) { return(BaseAttrMgr <T> .GetAttrStr( Type, RealVal *layer, IsPercentOp(), isIgnoreName, isColor)); }
/// <summary> /// 获得加成的描述 /// anticipationFaction:用户自定义的因子 /// </summary> /// <returns></returns> public string GetDesc(bool isIgnoreName = false, bool isColor = true, float?anticipationFaction = null) { return(BaseAttrMgr <T> .GetAttrStr( Type, anticipationFaction == null?RealVal : AnticipationVal(anticipationFaction.Value), IsPercentOp(), isIgnoreName, isColor)); }
// 获得加成的描述 // anticipationFaction:用户自定义的因子 public string GetDesc(bool isIgnoreName = false, bool isColor = true, float?inputVal = null) { return(BaseAttrMgr <T> .GetAttrStr( Type, AnticipationVal(inputVal), IsPercentSign(), isIgnoreName, isColor)); }