public static Color[] GetColors(this Camouflage @this)
 {
     return(new Color[]
     {
         CamouflageHelper.QueryColor(@this, "colors/c0").Value,
         CamouflageHelper.QueryColor(@this, "colors/c1").Value,
         CamouflageHelper.QueryColor(@this, "colors/c2").Value,
         CamouflageHelper.QueryColor(@this, "colors/c3").Value,
     });
 }
 public static double[] GetGloss(this Camouflage @this, string tankKey)
 {
     return(CamouflageHelper.QueryVector4(@this, "gloss/" + tankKey));
 }
 public static double[] GetMetallic(this Camouflage @this, string tankKey)
 {
     return(CamouflageHelper.QueryVector4(@this, "metallic/" + tankKey));
 }
 public static double[] GetTiling(this Camouflage @this, string tankKey)
 {
     return(CamouflageHelper.QueryVector4(@this, "tiling/" + tankKey));
 }
Ejemplo n.º 5
0
 public static Color GetArmorColor(this NationalCustomizationDatabase @this)
 {
     return(CamouflageHelper.QueryColor(@this, "armorColor", 0xff).Value);
 }