41 lines
649 B
C#
41 lines
649 B
C#
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<long,>
|
|
}
|
|
|
|
public class MetaBase
|
|
{
|
|
public long guid = Gen.GenID();
|
|
}
|
|
|
|
class FileMeta : MetaBase
|
|
{
|
|
|
|
}
|
|
|
|
class FolderMeta : MetaBase
|
|
{
|
|
}
|
|
} |