static public string GetQualityColorStr(QualityColor color) { switch (color) { case QualityColor.QC_Grey: return("adbbc0"); case QualityColor.QC_White: return("FFFFFF"); case QualityColor.QC_Green: return("12FF00"); //green case QualityColor.QC_Blue: return("1ea5ff"); //blue case QualityColor.QC_Purple: return("DC4BFF"); //purple case QualityColor.QC_Orange: return("FFA014"); //orange case QualityColor.QC_Red: return("EE2C2C"); //red case QualityColor.QC_Yellow: return("FFFF00"); //yellow case QualityColor.QC_Dark: return("F3E597"); //dark default: return("ffffff"); //white } }
public void SetEntity(COM_EmployeeInst employee) { star_ = employee.star_; soul_ = employee.soul_; quality_ = employee.quality_; isForBattle_ = employee.isBattle_; base.SetEntity(employee); }
public static Color GetQualityColor(QualityColor q) { return(GetColorFrom16(GetQualityColorStr(q))); }