Esempio n. 1
0
        public static ProjectData.HashList <ulong> LoadListsSubFatNames(this ProjectData.Manager manager,
                                                                        int bigVersion)
        {
            if (bigVersion >= 9) // TODO: check if this is right...
            {
                return(manager.LoadLists("*.subfatlist",
                                         a => CRC64.Hash(a.ToLowerInvariant()),
                                         s => s.Replace("/", "\\")));
            }

            return(manager.LoadLists("*.subfatlist",
                                     a => (ulong)CRC32.Hash(a.ToLowerInvariant()),
                                     s => s.Replace("\\", "/")));
        }
Esempio n. 2
0
 public static ProjectData.HashList <uint> LoadListsFileNames(
     this ProjectData.Manager manager)
 {
     return(manager.LoadLists(
                "*.filelist",
                s => s.HashFileName(),
                s => s.Replace('\\', '/')));
 }
Esempio n. 3
0
 public static ProjectData.HashList <uint> LoadListsPropertyNames(
     this ProjectData.Manager manager)
 {
     return(manager.LoadLists(
                "*.namelist",
                s => s.HashJenkins(),
                s => s));
 }
Esempio n. 4
0
 public static ProjectData.HashList <uint> LoadListsFileNames(
     this ProjectData.Manager manager)
 {
     return(manager.LoadLists(
                "*.filelist",
                s => Path.GetFileName(s).HashJenkins(),
                s => s.ToLowerInvariant()));
 }
Esempio n. 5
0
 public static ProjectData.HashList <uint> LoadListsColumnNames(
     this ProjectData.Manager manager)
 {
     return(manager.LoadLists(
                "*.columnlist",
                s => s.HashCRC32(),
                s => s.ToLowerInvariant()));
 }
Esempio n. 6
0
 public static ProjectData.HashList <uint> LoadListsTypeNames(
     this ProjectData.Manager manager)
 {
     return(manager.LoadLists(
                "*.typelist",
                s => s.HashFNV32(),
                s => s.ToLowerInvariant()));
 }
Esempio n. 7
0
 public static ProjectData.HashList <ulong> LoadListsFileNames(
     this ProjectData.Manager manager)
 {
     return(manager.LoadLists(
                "*.filelist",
                s => s.HashFNV64(),
                s => s.ToLowerInvariant()));
 }
Esempio n. 8
0
 public static ProjectData.HashList <uint> LoadFileLists(
     this ProjectData.Manager manager)
 {
     return(manager.LoadLists(
                "*.filelist",
                FileHasher,
                FileModifier));
 }
Esempio n. 9
0
 public static ProjectData.HashList <uint> LoadFileLists(
     this ProjectData.Manager manager,
     Action <uint, string, string> extra)
 {
     return(manager.LoadLists(
                "*.filelist",
                FileHasher,
                FileModifier,
                extra));
 }
Esempio n. 10
0
 public static ProjectData.HashList <uint> LoadListsFileNames(this ProjectData.Manager manager,
                                                              int bigVersion)
 {
     return(manager.LoadLists("*.filelist", Hasher, Modifier));
 }
Esempio n. 11
0
 public static ProjectData.HashList <uint> LoadListsAnimationNames(this ProjectData.Manager manager)
 {
     return(manager.LoadLists("*.animlist", AnimationCacheBinaryFile.ComputeNameHash, Modifier));
 }
Esempio n. 12
0
 public static ProjectData.HashList <ulong> LoadListsFileNames(this ProjectData.Manager manager)
 {
     return(manager.LoadLists("*.filelist", ArchiveFile.ComputeNameHash, Modifier));
 }
Esempio n. 13
0
 public static ProjectData.HashList <ulong> LoadListsInstance64Names(this ProjectData.Manager manager)
 {
     return(manager.LoadLists("*.instancelist64", a => a.HashFNV64(), a => a.ToLowerInvariant()));
 }
 public static ProjectData.HashList <uint> LoadListsPropertySetSymbolNames(this ProjectData.Manager manager)
 {
     return(manager.LoadLists("*.symbollist", s => s.HashSymbol(), s => s.Replace('/', '\\')));
 }
 public static ProjectData.HashList <uint> LoadListsPropertySetNames(this ProjectData.Manager manager)
 {
     return(manager.LoadLists("*.propsetlist", s => s.HashFileName(), s => s.Replace('/', '\\')));
 }