BF2Statistics.Python.Bf2Constants.GetVehicleName C# (CSharp) Method

GetVehicleName() public static method

Returns the vehicle title based on the given vehicle id
public static GetVehicleName ( int Id ) : string
Id int
return string
        public static string GetVehicleName(int Id)
        {
            if (Id >= Vehicles.Length)
                return "Unknown";

            return Vehicles[Id];
        }