-
Notifications
You must be signed in to change notification settings - Fork 2
/
FileType.cs
47 lines (46 loc) · 1.39 KB
/
FileType.cs
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
40
41
42
43
44
45
46
47
namespace PathMapper {
public enum FileType : byte {
Unknown,
Sound,
Imc,
Vfx,
Animation,
Pap,
MetaInfo,
Material,
Texture,
Model,
Shader,
Font,
Environment,
Skeleton,
SkeletonParameter,
ElementId,
SkeletonPhysicsBinary,
}
public static partial class Names {
public static readonly Dictionary<string, FileType> ExtensionToFileType = new() {
{ ".mdl", FileType.Model },
{ ".tex", FileType.Texture },
{ ".mtrl", FileType.Material },
{ ".atex", FileType.Animation },
{ ".avfx", FileType.Vfx },
{ ".scd", FileType.Sound },
{ ".imc", FileType.Imc },
{ ".pap", FileType.Pap },
{ ".eqp", FileType.MetaInfo },
{ ".eqdp", FileType.MetaInfo },
{ ".est", FileType.MetaInfo },
{ ".exd", FileType.MetaInfo },
{ ".exh", FileType.MetaInfo },
{ ".shpk", FileType.Shader },
{ ".shcd", FileType.Shader },
{ ".fdt", FileType.Font },
{ ".envb", FileType.Environment },
{ ".sklb", FileType.Skeleton },
{ ".skp", FileType.SkeletonParameter },
{ ".eid", FileType.ElementId },
{ ".phyb", FileType.SkeletonPhysicsBinary },
};
}
}