wow-wmo 0.6.2

Parser, editor, and converter for World of Warcraft WMO (World Model Object) files
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::chunk_id::ChunkId;
use binrw::{BinRead, BinWrite};

/// A chunk header containing the ID and size
#[derive(Debug, Clone, Copy, BinRead, BinWrite)]
#[br(little)]
#[bw(little)]
pub struct ChunkHeader {
    /// The chunk identifier
    pub id: ChunkId,
    /// The size of the chunk data (excluding the header)
    pub size: u32,
}