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