mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-08-05 03:18:45 +00:00
parent
2d773ed7bf
commit
7a4c16f322
2 changed files with 3 additions and 0 deletions
|
@ -29,6 +29,7 @@ public static class FileHelper
|
|||
{
|
||||
LbpFileType.MotionRecording => true,
|
||||
LbpFileType.FileArchive => false,
|
||||
LbpFileType.CrossLevel => true,
|
||||
LbpFileType.Painting => true,
|
||||
LbpFileType.Unknown => false,
|
||||
LbpFileType.Texture => true,
|
||||
|
@ -64,6 +65,7 @@ public static class FileHelper
|
|||
return Encoding.ASCII.GetString(header) switch
|
||||
{
|
||||
"REC" => LbpFileType.MotionRecording,
|
||||
"PRF" => LbpFileType.CrossLevel,
|
||||
"PTG" => LbpFileType.Painting,
|
||||
"TEX" => LbpFileType.Texture,
|
||||
"FSH" => LbpFileType.Script,
|
||||
|
|
|
@ -5,6 +5,7 @@ public enum LbpFileType
|
|||
Script, // .ff, FSH
|
||||
Texture, // TEX
|
||||
Level, // LVL
|
||||
CrossLevel, // PRF, Cross controller level
|
||||
FileArchive, // .farc, (ends with FARC)
|
||||
Plan, // PLN, uploaded with levels
|
||||
Voice, // VOP, voice data
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue