mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-28 07:58:40 +00:00
Add support for plan files
This commit is contained in:
parent
a6b248af02
commit
d0a663f2b1
2 changed files with 3 additions and 0 deletions
|
@ -18,6 +18,7 @@ namespace LBPUnion.ProjectLighthouse.Helpers {
|
|||
LbpFileType.Script => false,
|
||||
LbpFileType.Level => true,
|
||||
LbpFileType.FileArchive => false,
|
||||
LbpFileType.Plan => true,
|
||||
LbpFileType.Unknown => false,
|
||||
#if DEBUG
|
||||
_ => throw new ArgumentOutOfRangeException(nameof(file), $"Unhandled file type ({file.FileType}) in FileHelper.IsFileSafe()"),
|
||||
|
@ -40,6 +41,7 @@ namespace LBPUnion.ProjectLighthouse.Helpers {
|
|||
"TEX" => LbpFileType.Texture,
|
||||
"FSH" => LbpFileType.Script,
|
||||
"LVL" => LbpFileType.Level,
|
||||
"PLN" => LbpFileType.Plan,
|
||||
_ => LbpFileType.Unknown,
|
||||
};
|
||||
}
|
||||
|
|
|
@ -4,6 +4,7 @@ namespace LBPUnion.ProjectLighthouse.Types.Files {
|
|||
Texture, // TEX
|
||||
Level, // LVL
|
||||
FileArchive, // .farc, (ends with FARC)
|
||||
Plan, // PLN, uploaded with levels
|
||||
Unknown,
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue