summaryrefslogtreecommitdiff
path: root/WorldlineKeepers/Assets/Scripts/Data/Metadata/Filelist.cs
blob: c4ae257b89780c228cbbf96154e2410a7d14a9cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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 FileDescriptor
    {
        public string key;
        public FileType type;
        public FileRoot root;
        public string path;
    }

}