Beispiel #1
0
        public void Scan()
        {
            if (!Scanned)
            {
                Scanned = true;

                // Index ALL files in GameDataDirectory:
                Files = new rFactor2FileList(GamedataDirectory,
                                             new string[6] {
                    ".aiw", ".gdb", ".veh", ".rfm", ".ini", ".hdv"
                });

                ScanTracks();
                ScanCars();
            }
        }
Beispiel #2
0
        public void Scan()
        {
            if (!Scanned)
            {
                Scanned = true;

                // Index ALL files in GameDataDirectory:
                Files = new rFactor2FileList(GamedataDirectory,
                    new string[6] { ".aiw", ".gdb", ".veh", ".rfm", ".ini", ".hdv" });

                ScanTracks();
                ScanCars();
            }
        }