mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 18:27:24 +01:00
44 lines
No EOL
1 KiB
C#
44 lines
No EOL
1 KiB
C#
using System.Collections.Generic;
|
|
|
|
namespace Penumbra.GameData.Enums;
|
|
|
|
public enum FileType : byte
|
|
{
|
|
Unknown,
|
|
Sound,
|
|
Imc,
|
|
Vfx,
|
|
Animation,
|
|
Pap,
|
|
MetaInfo,
|
|
Material,
|
|
Texture,
|
|
Model,
|
|
Shader,
|
|
Font,
|
|
Environment,
|
|
}
|
|
|
|
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 },
|
|
};
|
|
} |