public static string Name(this TargetValueMultiple target) { string[] names = { "×3", "×2", "等倍", "1/2", "1/3" }; return(names[(int)target]); }
public static double Value(this TargetValueMultiple target) { double[] values = { 3d, 2d, 1d, 0.5d, 0.333333333333333d }; return(values[(int)target]); }