1
Fork 0
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:
Joshua Goins 2022-08-09 19:53:17 -04:00
parent a471ce1080
commit 99fc3165e5

View file

@ -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,
} }