mirror of
https://github.com/redstrate/Physis.git
synced 2025-04-26 14:17:45 +00:00
Document FileType enum
This commit is contained in:
parent
a471ce1080
commit
99fc3165e5
1 changed files with 5 additions and 0 deletions
|
@ -10,10 +10,15 @@ use crate::sqpack::read_data_block;
|
||||||
#[binrw]
|
#[binrw]
|
||||||
#[brw(repr = i32)]
|
#[brw(repr = i32)]
|
||||||
#[derive(Debug, PartialEq)]
|
#[derive(Debug, PartialEq)]
|
||||||
|
/// The file type of the data entry.
|
||||||
pub enum FileType {
|
pub enum FileType {
|
||||||
|
/// Empty entry, usually invalid.
|
||||||
Empty = 1,
|
Empty = 1,
|
||||||
|
/// Encompasses every file that is not a model or a texture, which are stored in a special fashion.
|
||||||
Standard,
|
Standard,
|
||||||
|
/// Model (MDL) files.
|
||||||
Model,
|
Model,
|
||||||
|
/// Texture (TEX) files.
|
||||||
Texture,
|
Texture,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue