using System; using System.Collections.Generic; namespace ZXL.Scripts.Cache { public static class Gen { private static int i = 0; public static long GenID() { return DateTime.Now.Ticks + i++; } } public enum MetaType { TextureImporter, MaterialImporter, ModelImporter, TextScriptImporter, } public static class CacheManager { // Dictionary } public class MetaBase { public long guid = Gen.GenID(); } class FileMeta : MetaBase { } class FolderMeta : MetaBase { } }