summaryrefslogtreecommitdiff
path: root/WorldlineKeepers/Assets/Scripts/Data/Metadata/Filelist.cs
diff options
context:
space:
mode:
Diffstat (limited to 'WorldlineKeepers/Assets/Scripts/Data/Metadata/Filelist.cs')
-rw-r--r--WorldlineKeepers/Assets/Scripts/Data/Metadata/Filelist.cs39
1 files changed, 39 insertions, 0 deletions
diff --git a/WorldlineKeepers/Assets/Scripts/Data/Metadata/Filelist.cs b/WorldlineKeepers/Assets/Scripts/Data/Metadata/Filelist.cs
new file mode 100644
index 0000000..b91619b
--- /dev/null
+++ b/WorldlineKeepers/Assets/Scripts/Data/Metadata/Filelist.cs
@@ -0,0 +1,39 @@
+using System.Collections;
+using System.Collections.Generic;
+using UnityEngine;
+
+namespace WK.Data
+{
+
+ /// <summary>
+ /// 文件类型
+ /// </summary>
+ public enum FileType
+ {
+ CSV = 0,
+ Json = 1,
+ Txt = 2,
+ }
+
+ /// <summary>
+ /// 文件路径
+ /// </summary>
+ public enum FileRoot
+ {
+ Bundle = 0,
+ Streaming = 1,
+ Persistent = 2,
+ }
+
+ /// <summary>
+ /// 元文件描述符
+ /// </summary>
+ public class MetadataFileDescriptor
+ {
+ public string key;
+ public FileType type;
+ public FileRoot root;
+ public string path;
+ }
+
+}