public static string FetchMotiveLocalization(CASAgeGenderFlags flag, CommodityKind motive) { string str = ""; switch (motive) { case CommodityKind.Hygiene: if (flag == CASAgeGenderFlags.Cat) { str = "Scratch"; } if (flag == CASAgeGenderFlags.Dog) { str = "Destruction"; } if (flag == CASAgeGenderFlags.Horse) { str = "Exercise"; } break; case CommodityKind.Fun: if (flag == CASAgeGenderFlags.Horse) { str = "Thirst"; } break; default: break; } return(Common.LocalizeEAString("Ui/Caption/HUD/MotivesPanel:Motive" + str + (flag == CASAgeGenderFlags.Human || str == "B" ? motive.ToString() : flag.ToString()))); }
public static string FetchMotiveLocalization(CASAgeGenderFlags flag, CommodityKind motive) { string str = ""; switch (motive) { case CommodityKind.Hygiene: if (flag == CASAgeGenderFlags.Cat) str = "Scratch"; if (flag == CASAgeGenderFlags.Dog) str = "Destruction"; if (flag == CASAgeGenderFlags.Horse) str = "Exercise"; break; case CommodityKind.Fun: if (flag == CASAgeGenderFlags.Horse) str = "Thirst"; break; case CommodityKind.Temperature: return Common.Localize("TagData:Temperature"); default: break; } return Common.LocalizeEAString("Ui/Caption/HUD/MotivesPanel:Motive" + str + (flag == CASAgeGenderFlags.Human ? motive.ToString() : flag.ToString())); }
public AgeTagListingOption(CASAgeGenderFlags data) : base(Common.LocalizeEAString("UI/Feedback/CAS:" + data.ToString())) { mData = data; }
protected override string GetLocalizedValue(CASAgeGenderFlags value, ref ThumbnailKey icon) { return LocalizeValue(value.ToString()); }
public override string ConvertToString(CASAgeGenderFlags value) { return(value.ToString()); }
protected override string GetLocalizedValue(CASAgeGenderFlags value, ref ThumbnailKey icon) { return(LocalizeValue(value.ToString())); }
public override string GetTitlePrefix() { return(mSpecies.ToString()); }