mirror of
https://github.com/redstrate/Physis.git
synced 2025-04-20 11:47:46 +00:00
Add examples of layer group file and chunk ids
This commit is contained in:
parent
c6b85da598
commit
de06972b1e
1 changed files with 2 additions and 0 deletions
|
@ -520,6 +520,7 @@ struct OBSetEnableReferenced {
|
||||||
#[brw(little)]
|
#[brw(little)]
|
||||||
#[allow(dead_code)] // most of the fields are unused at the moment
|
#[allow(dead_code)] // most of the fields are unused at the moment
|
||||||
struct LgbHeader {
|
struct LgbHeader {
|
||||||
|
// Example: "LGB1"
|
||||||
file_id: u32,
|
file_id: u32,
|
||||||
file_size: i32,
|
file_size: i32,
|
||||||
total_chunk_count: i32,
|
total_chunk_count: i32,
|
||||||
|
@ -564,6 +565,7 @@ pub struct Layer {
|
||||||
|
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
pub struct LayerChunk {
|
pub struct LayerChunk {
|
||||||
|
// Example: "LGP1"
|
||||||
pub chunk_id: u32,
|
pub chunk_id: u32,
|
||||||
pub layer_group_id: i32,
|
pub layer_group_id: i32,
|
||||||
pub name: String,
|
pub name: String,
|
||||||
|
|
Loading…
Add table
Reference in a new issue