Exemple #1
0
        public Lsd(SpecDBFolder folderType)
        {
            Columns.Add(new ColumnMetadata("Price", DBColumnType.Short));
            Columns.Add(new ColumnMetadata("category", DBColumnType.Byte));

            Columns.Add(new ColumnMetadata("difftypeF", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("LSDparamFMIN", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("LSDparamFMAX", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("LSDparamFDF", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("LSDparam2F", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("LSDparam2FMIN", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("LSDparam2FMAX", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("LSDparam2FDF", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("LSDparam3F", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("LSDparam3FMIN", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("LSDparam3FMAX", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("LSDparam3FDF", DBColumnType.Byte));

            Columns.Add(new ColumnMetadata("difftypeR", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("LSDparamRMIN", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("LSDparamRMAX", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("LSDparamRDF", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("LSDparam2R", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("LSDparam2RMIN", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("LSDparam2RMAX", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("LSDparam2RDF", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("LSDparam3F", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("LSDparam3RMIN", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("LSDparam3RMAX", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("LSDparam3RDF", DBColumnType.Byte));
        }
Exemple #2
0
 public TireSize(SpecDBFolder folderType)
 {
     Columns.Add(new ColumnMetadata("flatness", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("unk", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("diameter", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("width", DBColumnType.Byte));
 }
Exemple #3
0
 public PortPolish(SpecDBFolder folderType)
 {
     Columns.Add(new ColumnMetadata("torquemodifier", DBColumnType.Short));
     Columns.Add(new ColumnMetadata("torquemodifier2", DBColumnType.Short));
     Columns.Add(new ColumnMetadata("Price", DBColumnType.Short));
     Columns.Add(new ColumnMetadata("category", DBColumnType.Byte));
 }
Exemple #4
0
        public FrontTire(SpecDBFolder folderType)
        {
            Columns.Add(new ColumnMetadata("TS_Tbl_Index", DBColumnType.Int));
            Columns.Add(new ColumnMetadata("tiresize", DBColumnType.Int));

            Columns.Add(new ColumnMetadata("Cmp_Tbl_Index", DBColumnType.Int));
            Columns.Add(new ColumnMetadata("tirecompound0", DBColumnType.Int));
            Columns.Add(new ColumnMetadata("Cmp_Tbl_Index", DBColumnType.Int));
            Columns.Add(new ColumnMetadata("tirecompound1", DBColumnType.Int));
            Columns.Add(new ColumnMetadata("Cmp_Tbl_Index", DBColumnType.Int));
            Columns.Add(new ColumnMetadata("tirecompound2", DBColumnType.Int));
            Columns.Add(new ColumnMetadata("TF_Tbl_Index", DBColumnType.Int));
            Columns.Add(new ColumnMetadata("tireforcevol0", DBColumnType.Int));
            Columns.Add(new ColumnMetadata("TF_Tbl_Index", DBColumnType.Int));
            Columns.Add(new ColumnMetadata("tireforcevol1", DBColumnType.Int));
            Columns.Add(new ColumnMetadata("TF_Tbl_Index", DBColumnType.Int));
            Columns.Add(new ColumnMetadata("tireforcevol2", DBColumnType.Int));

            Columns.Add(new ColumnMetadata("Price", DBColumnType.Short));
            Columns.Add(new ColumnMetadata("category", DBColumnType.Byte));

            if (folderType >= SpecDBFolder.GT5_JP3009)
            {
                Columns.Add(new ColumnMetadata("tireDrainageLevel", DBColumnType.Byte));
                Columns.Add(new ColumnMetadata("tireSpring_Auto", DBColumnType.Byte));
            }
        }
Exemple #5
0
 public ExhaustManifold(SpecDBFolder folderType)
 {
     Columns.Add(new ColumnMetadata("torquemodifier", DBColumnType.Short));
     Columns.Add(new ColumnMetadata("torquemodifier2", DBColumnType.Short));
     Columns.Add(new ColumnMetadata("torquemodifier3", DBColumnType.Short));
     Columns.Add(new ColumnMetadata("category", DBColumnType.Byte));
 }
 public RiderEquipment(SpecDBFolder folderType, string localeName)
 {
     Columns.Add(new ColumnMetadata("Name", DBColumnType.String, localeName));
     Columns.Add(new ColumnMetadata("ModelCode", DBColumnType.String, localeName));
     Columns.Add(new ColumnMetadata("TypeID", DBColumnType.Int));
     Columns.Add(new ColumnMetadata("ManufacturerID", DBColumnType.Int));
 }
Exemple #7
0
 public Lightweight(SpecDBFolder folderType)
 {
     Columns.Add(new ColumnMetadata("weighteffect", DBColumnType.Short));
     Columns.Add(new ColumnMetadata("Price", DBColumnType.Short));
     Columns.Add(new ColumnMetadata("category", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("yaweffect", DBColumnType.Byte));
 }
Exemple #8
0
 public Gear(SpecDBFolder folderType)
 {
     Columns.Add(new ColumnMetadata("Gear1st", DBColumnType.Short));
     Columns.Add(new ColumnMetadata("Gear2nd", DBColumnType.Short));
     Columns.Add(new ColumnMetadata("Gear3rd", DBColumnType.Short));
     Columns.Add(new ColumnMetadata("Gear4th", DBColumnType.Short));
     Columns.Add(new ColumnMetadata("Gear5th", DBColumnType.Short));
     Columns.Add(new ColumnMetadata("Gear6th", DBColumnType.Short));
     Columns.Add(new ColumnMetadata("Gear7th", DBColumnType.Short));
     Columns.Add(new ColumnMetadata("Gear8th", DBColumnType.Short));
     Columns.Add(new ColumnMetadata("Gear9th", DBColumnType.Short));
     Columns.Add(new ColumnMetadata("Gear10th", DBColumnType.Short));
     Columns.Add(new ColumnMetadata("Gear11th", DBColumnType.Short));
     Columns.Add(new ColumnMetadata("GearReverse", DBColumnType.Short));
     Columns.Add(new ColumnMetadata("finalgearMIN", DBColumnType.Short));
     Columns.Add(new ColumnMetadata("finalgearMAX", DBColumnType.Short));
     Columns.Add(new ColumnMetadata("finalgearDF", DBColumnType.Short));
     Columns.Add(new ColumnMetadata("ExtraFinalGearRatio", DBColumnType.Short));
     Columns.Add(new ColumnMetadata("Price", DBColumnType.Short));
     Columns.Add(new ColumnMetadata("category", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("geartype", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("Nshift", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("gearflag", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("maxspeedMIN", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("maxspeedMAX", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("maxspeedDF", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("ExtraFinalGearUsage", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("LowGearPos", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("ReverseGearPos", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("GearPattern", DBColumnType.Byte));
 }
Exemple #9
0
        /* Code: ID of the column.
         * Label: name of the row i.e: _117_coupe_68.
         */


        public SpecDB(string folderName, SpecDBFolder type, bool loadAsOriginalImplementation)
        {
            FolderName = folderName;

            if (folderName.Length > 4 && int.TryParse(folderName.Substring(folderName.Length - 4, 4), out int vers))
            {
                Version = vers;
            }
            else
            {
                string typeName = type.ToString();
                Version = int.Parse(typeName.Substring(typeName.Length - 4, 4));
            }


            SpecDBFolderType = type;

            SpecDBName = Path.GetFileNameWithoutExtension(folderName);
            LoadingAsOriginalImplementation = loadAsOriginalImplementation;

            if (LoadingAsOriginalImplementation)
            {
                Fixed_Tables = new SpecDBTable[SPEC_DB_TABLE_COUNT];
                for (int i = 0; i < Fixed_Tables.Length; i++)
                {
                    Fixed_Tables[i] = new SpecDBTable(TABLE_NAMES[i]);
                }
            }
            else
            {
                Tables = new Dictionary <string, SpecDBTable>();
            }
        }
 public DefaultParam(SpecDBFolder folderType)
 {
     Columns.Add(new ColumnMetadata("torquevol", DBColumnType.Short));
     Columns.Add(new ColumnMetadata("finalgearDF", DBColumnType.Short));
     Columns.Add(new ColumnMetadata("rideheightDFF", DBColumnType.Short));
     Columns.Add(new ColumnMetadata("rideheightDFR", DBColumnType.Short));
     Columns.Add(new ColumnMetadata("springrateDFF", DBColumnType.Short));
     Columns.Add(new ColumnMetadata("springrateDFR", DBColumnType.Short));
     Columns.Add(new ColumnMetadata("cIDFF", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("cIDFR", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("LSDparamFDF", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("LSDparam2FDF", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("LSDparam3FDF", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("LSDparamRDF", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("LSDparam2RDF", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("LSDparam3RDF", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("maxspeedDF", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("camberDFF", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("camberDFR", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("toeDFF", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("toeDFR", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("dampF1BDFF", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("dampF2BDFF", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("dampF1RDFF", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("dampF2RDFF", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("dampF1BDFR", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("dampF2BDFR", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("dampF1RDFR", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("dampF2RDFR", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("stabilizerDFF", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("stabilizerDFR", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("VSCDF", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("TCSDF", DBColumnType.Byte));
 }
Exemple #11
0
 public ASCC(SpecDBFolder folderType)
 {
     Columns.Add(new ColumnMetadata("Price", DBColumnType.Short));
     Columns.Add(new ColumnMetadata("category", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("VSCbrakeoff", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("VSCparam1level", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("VSCparam1MIN", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("VSCparam1MAX", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("VSCparam1DF", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("VSCparam2", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("VSCbrakeon", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("VSCparamBlevel", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("VSCparamBMIN", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("VSCparamBMAX", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("VSCparamBDF", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("VUCbrakeoff", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("VUCparam1level", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("VUCparam1MIN", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("VUCparam1MAX", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("VUCparam1DF", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("VUCparam2", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("VUCbrakeon", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("VUCparamBlevel", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("VUCparamBMIN", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("VUCparamBMAX", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("VUCparamBDF", DBColumnType.Byte));
 }
Exemple #12
0
 public AirCleaner(SpecDBFolder folderType)
 {
     Columns.Add(new ColumnMetadata("torquemodifier", DBColumnType.Short));
     Columns.Add(new ColumnMetadata("torquemodifier2", DBColumnType.Short));
     Columns.Add(new ColumnMetadata("torquemodifier3", DBColumnType.Short));
     Columns.Add(new ColumnMetadata("category", DBColumnType.Byte));
 }
Exemple #13
0
        public TurbineKit(SpecDBFolder folderType)
        {
            Columns.Add(new ColumnMetadata("Price", DBColumnType.Int));
            Columns.Add(new ColumnMetadata("torquemodifier", DBColumnType.Short));
            Columns.Add(new ColumnMetadata("torquemodifier2", DBColumnType.Short));

            if (folderType >= SpecDBFolder.GT5_JP3003) // Only GT5 Retail actually added it, not QA
            {
                Columns.Add(new ColumnMetadata("torquemodifier3", DBColumnType.Short));
            }

            Columns.Add(new ColumnMetadata("category", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("wastegate", DBColumnType.Byte));

            Columns.Add(new ColumnMetadata("boost1", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("peakrpm1", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("response1", DBColumnType.Byte));

            Columns.Add(new ColumnMetadata("boost2", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("peakrpm2", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("response2", DBColumnType.Byte));

            Columns.Add(new ColumnMetadata("shiftlimit", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("revlimit", DBColumnType.Byte));

            if (folderType >= SpecDBFolder.GT5_JP3003)
            {
                Columns.Add(new ColumnMetadata("rpmeffect", DBColumnType.Byte));
            }
        }
Exemple #14
0
 public TCSC(SpecDBFolder folderType)
 {
     if (folderType <= SpecDBFolder.TT_EU2630)
     {
         Columns.Add(new ColumnMetadata("Price", DBColumnType.Short));
         Columns.Add(new ColumnMetadata("category", DBColumnType.Byte));
         Columns.Add(new ColumnMetadata("unk", DBColumnType.Byte));
         Columns.Add(new ColumnMetadata("TCSUnk1", DBColumnType.Byte));
         Columns.Add(new ColumnMetadata("TCSUnk2", DBColumnType.Byte));
         Columns.Add(new ColumnMetadata("TCSUnk3", DBColumnType.Byte));
         Columns.Add(new ColumnMetadata("TCSUnkValue1", DBColumnType.Byte));
         Columns.Add(new ColumnMetadata("TCSUnkValue2", DBColumnType.Byte));
         Columns.Add(new ColumnMetadata("TCSUnkValue3", DBColumnType.Byte));
     }
     else
     {
         Columns.Add(new ColumnMetadata("Price", DBColumnType.Short));
         Columns.Add(new ColumnMetadata("category", DBColumnType.Byte));
         Columns.Add(new ColumnMetadata("TCSparamA", DBColumnType.Byte));
         Columns.Add(new ColumnMetadata("TCSparamB", DBColumnType.Byte));
         Columns.Add(new ColumnMetadata("TCSgrad", DBColumnType.Byte));
         Columns.Add(new ColumnMetadata("TCStarget", DBColumnType.Byte));
         Columns.Add(new ColumnMetadata("TCSUserValueDF", DBColumnType.Byte));
         Columns.Add(new ColumnMetadata("TCSUserValueLevel", DBColumnType.Byte));
         Columns.Add(new ColumnMetadata("TCSUserValueMin", DBColumnType.Byte));
         Columns.Add(new ColumnMetadata("TCSUserValueMax", DBColumnType.Byte));
     }
 }
Exemple #15
0
        public ModelInfo(SpecDBFolder folderType)
        {
            Columns.Add(new ColumnMetadata("CarLabel", DBColumnType.String, "UnistrDB.sdb"));
            Columns.Add(new ColumnMetadata("ModelWidth", DBColumnType.Float));
            Columns.Add(new ColumnMetadata("ModelHeight", DBColumnType.Float));
            Columns.Add(new ColumnMetadata("ModelFront", DBColumnType.Float));
            Columns.Add(new ColumnMetadata("ModelRear", DBColumnType.Float));
            Columns.Add(new ColumnMetadata("ModelProjection", DBColumnType.Float));

            Columns.Add(new ColumnMetadata("DriverModel", DBColumnType.String, "UnistrDB.sdb"));
            Columns.Add(new ColumnMetadata("HeightModel", DBColumnType.String, "UnistrDB.sdb"));
            Columns.Add(new ColumnMetadata("LeftBeltModel", DBColumnType.String, "UnistrDB.sdb"));
            Columns.Add(new ColumnMetadata("RightBeltModel", DBColumnType.String, "UnistrDB.sdb"));
            Columns.Add(new ColumnMetadata("LeftBeltModelHigh", DBColumnType.String, "UnistrDB.sdb"));
            Columns.Add(new ColumnMetadata("RightbeltModelHigh", DBColumnType.String, "UnistrDB.sdb"));

            Columns.Add(new ColumnMetadata("FrontStrokeMargin", DBColumnType.Short));
            Columns.Add(new ColumnMetadata("RearStrokeMargin", DBColumnType.Short));
            Columns.Add(new ColumnMetadata("BeltTexture", DBColumnType.Short));
            Columns.Add(new ColumnMetadata("DriverType", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("Steering", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("Crew", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("LeftSeatBeltType", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("RightSeatBeltType", DBColumnType.Byte));
        }
 public RiderSetAssign(SpecDBFolder folderType)
 {
     Columns.Add(new ColumnMetadata("Helmet", DBColumnType.Int));
     Columns.Add(new ColumnMetadata("Suit", DBColumnType.Int));
     Columns.Add(new ColumnMetadata("Jacket", DBColumnType.Int));
     Columns.Add(new ColumnMetadata("Pants", DBColumnType.Int));
     Columns.Add(new ColumnMetadata("Gloves", DBColumnType.Int));
     Columns.Add(new ColumnMetadata("Boots", DBColumnType.Int));
 }
Exemple #17
0
 public TunedCars(SpecDBFolder folderType)
 {
     Columns.Add(new ColumnMetadata("Unk", DBColumnType.Int));
     Columns.Add(new ColumnMetadata("CarCode", DBColumnType.Int));
     Columns.Add(new ColumnMetadata("DefParts_Tbl_Index", DBColumnType.Int));
     Columns.Add(new ColumnMetadata("ID", DBColumnType.Int));
     Columns.Add(new ColumnMetadata("DefParam_Tbl_Index", DBColumnType.Int));
     Columns.Add(new ColumnMetadata("ID", DBColumnType.Int));
 }
Exemple #18
0
 public Flywheel(SpecDBFolder folderType)
 {
     Columns.Add(new ColumnMetadata("Price", DBColumnType.Short));
     Columns.Add(new ColumnMetadata("category", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("iflywheel", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("enginebrake", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("iwheelF", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("iwheelR", DBColumnType.Byte));
 }
Exemple #19
0
 public EnemyCars(SpecDBFolder folderType)
 {
     Columns.Add(new ColumnMetadata("GenericCar", DBColumnType.Int));
     Columns.Add(new ColumnMetadata("Gen_Tbl_Index", DBColumnType.Int));
     Columns.Add(new ColumnMetadata("DefaultParts", DBColumnType.Int));
     Columns.Add(new ColumnMetadata("DefPrs_Tbl_Index", DBColumnType.Int));
     Columns.Add(new ColumnMetadata("DefaultParam", DBColumnType.Int));
     Columns.Add(new ColumnMetadata("DefPrm_Tbl_Index", DBColumnType.Int));
 }
 public EngineBalance(SpecDBFolder folderType)
 {
     Columns.Add(new ColumnMetadata("torqueModifier", DBColumnType.Short));
     Columns.Add(new ColumnMetadata("torqueModifier2", DBColumnType.Short));
     Columns.Add(new ColumnMetadata("Price", DBColumnType.Short));
     Columns.Add(new ColumnMetadata("category", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("?", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("?", DBColumnType.Byte));
 }
Exemple #21
0
 public CarCustomInfo(SpecDBFolder folderType)
 {
     Columns.Add(new ColumnMetadata("BitsA", DBColumnType.Int));
     Columns.Add(new ColumnMetadata("BitsB", DBColumnType.Int));
     Columns.Add(new ColumnMetadata("BitsC", DBColumnType.Int));
     Columns.Add(new ColumnMetadata("BitsD", DBColumnType.Int));
     Columns.Add(new ColumnMetadata("BitsE", DBColumnType.Int));
     Columns.Add(new ColumnMetadata("BitsF", DBColumnType.Int));
 }
Exemple #22
0
 public PropellerShaft(SpecDBFolder folderType)
 {
     Columns.Add(new ColumnMetadata("Price", DBColumnType.Short));
     Columns.Add(new ColumnMetadata("category", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("enginebrake", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("iwheelF", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("iwheelR", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("ipropF", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("ipropR", DBColumnType.Byte));
 }
Exemple #23
0
 public IntakeManifold(SpecDBFolder folderType)
 {
     Columns.Add(new ColumnMetadata("torquemodifier", DBColumnType.Short));
     Columns.Add(new ColumnMetadata("torquemodifier2", DBColumnType.Short));
     Columns.Add(new ColumnMetadata("torquemodifier3", DBColumnType.Short));
     Columns.Add(new ColumnMetadata("category", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("shiftlimit", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("revlimit", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("rpmeffect", DBColumnType.Byte));
 }
Exemple #24
0
 public ArcadeInfoNormal(SpecDBFolder folderType)
 {
     Columns.Add(new ColumnMetadata("torquemodifier", DBColumnType.Short));
     Columns.Add(new ColumnMetadata("torquemodifier2", DBColumnType.Short));
     Columns.Add(new ColumnMetadata("torquemodifier3", DBColumnType.Short));
     Columns.Add(new ColumnMetadata("category", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("shiftlimit", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("revlimit", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("rpmlimit", DBColumnType.Byte));
 }
Exemple #25
0
 public NOS(SpecDBFolder folderType)
 {
     Columns.Add(new ColumnMetadata("Unk", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("Capacity", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("Price", DBColumnType.Short));
     Columns.Add(new ColumnMetadata("category", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("TorqueVolume", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("TorqueVolumeMin", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("TorqueVolumeMax", DBColumnType.Byte));
 }
Exemple #26
0
        public Steer(SpecDBFolder folderType)
        {
            Columns.Add(new ColumnMetadata("category", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("padgraphx1", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("padgraphx2", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("padgraphx3", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("padgraphx4", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("padgraphx5", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("padgraphx6", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("padgraphy1", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("padgraphy2", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("padgraphy3", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("padgraphy4", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("padgraphy5", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("padgraphy6", DBColumnType.Byte));

            Columns.Add(new ColumnMetadata("steergraphx1", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("steergraphx2", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("steergraphx3", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("steergraphx4", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("steergraphx5", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("steergraphx6", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("steergraphy1", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("steergraphy2", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("steergraphy3", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("steergraphy4", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("steergraphy5", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("steergraphy6", DBColumnType.Byte));

            Columns.Add(new ColumnMetadata("dirtgraphx1", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("dirtgraphx2", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("dirtgraphx3", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("dirtgraphx4", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("dirtgraphx5", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("dirtgraphx6", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("dirtgraphy1", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("dirtgraphy2", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("dirtgraphy3", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("dirtgraphy4", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("dirtgraphy5", DBColumnType.Byte));
            Columns.Add(new ColumnMetadata("dirtgraphy6", DBColumnType.Byte));

            Columns.Add(new ColumnMetadata("steerlimit", DBColumnType.Byte));

            if (folderType > SpecDBFolder.GT5_TRIAL_JP2704)
            {
                Columns.Add(new ColumnMetadata("steerlimitMin", DBColumnType.Byte));
                Columns.Add(new ColumnMetadata("steerlimitMax", DBColumnType.Byte));
            }

            if (folderType >= SpecDBFolder.GT5_JP3003)
            {
                Columns.Add(new ColumnMetadata("steerMaxVisual", DBColumnType.Byte));
            }
        }
        public GenericCarInfo(SpecDBFolder folderType)
        {
            Columns.Add(new ColumnMetadata("?", DBColumnType.Byte));

            if (folderType == SpecDBFolder.GT5_JP3003)
            {
                Columns.Add(new ColumnMetadata("?", DBColumnType.Byte));
                Columns.Add(new ColumnMetadata("?", DBColumnType.Byte));
                Columns.Add(new ColumnMetadata("?", DBColumnType.Byte));
            }
        }
Exemple #28
0
        public CarName(SpecDBFolder folderType, string localeName)
        {
            Columns.Add(new ColumnMetadata("Name", DBColumnType.String, localeName));
            Columns.Add(new ColumnMetadata("Grade", DBColumnType.String, localeName));
            Columns.Add(new ColumnMetadata("ShortName", DBColumnType.String, localeName));

            if (folderType <= SpecDBFolder.GT5_TRIAL_JP2704)
            {
                Columns.Add(new ColumnMetadata("NarrationID", DBColumnType.Int));
            }
        }
Exemple #29
0
 public PaintColorInfo(SpecDBFolder folderType)
 {
     Columns.Add(new ColumnMetadata("LabelEng", DBColumnType.String, "UnistrDB.sdb"));
     Columns.Add(new ColumnMetadata("LabelJpn", DBColumnType.String, "UnistrDB.sdb"));
     Columns.Add(new ColumnMetadata("ColorChip", DBColumnType.UInt));
     Columns.Add(new ColumnMetadata("ColorChip2", DBColumnType.UInt));
     Columns.Add(new ColumnMetadata("CCBinID", DBColumnType.Short));
     Columns.Add(new ColumnMetadata("Unk1", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("Type", DBColumnType.Byte));
     Columns.Add(new ColumnMetadata("TunerID", DBColumnType.Byte));
 }
Exemple #30
0
 public Supercharger(SpecDBFolder folderType)
 {
     Columns.Add(new ColumnMetadata("torquemodifier", DBColumnType.Short));
     Columns.Add(new ColumnMetadata("torquemodifier2", DBColumnType.Short));
     if (folderType >= SpecDBFolder.GT5_JP3003)
     {
         Columns.Add(new ColumnMetadata("torquemodifier3", DBColumnType.Short));
     }
     Columns.Add(new ColumnMetadata("Price", DBColumnType.Short));
     Columns.Add(new ColumnMetadata("category", DBColumnType.Byte));
 }