[−][src]Struct fable_format::Wad
The world archive.
These archives contain only Lev
and Tng
files. Usually there's only one occurence at Data/Levels/FinalAlbion.wad
.
See WadReader
to read the archive. You read the archive with WadHeader
to find the entries, and each WadEntry
to find the file contents.
Format Description
Section | Description |
---|---|
Header | The WadHeader . |
Blob | The file contents in contiguous chunks. |
Entries | The list of WadEntry with metdata and content locations. |
See those structs for more details.
Fields
header: WadHeader
entries: Vec<WadEntry>
Methods
impl Wad
[src]
pub fn decode_header(input: &[u8]) -> IResult<&[u8], WadHeader, Error>
[src]
pub fn decode_entry(input: &[u8]) -> IResult<&[u8], WadEntry, Error>
[src]
pub fn decode_timestamp(input: &[u8]) -> IResult<&[u8], NaiveDateTime, Error>
[src]
pub fn decode_short_timestamp(
input: &[u8]
) -> IResult<&[u8], NaiveDateTime, Error>
[src]
input: &[u8]
) -> IResult<&[u8], NaiveDateTime, Error>
Trait Implementations
impl Debug for Wad
[src]
impl Decode for Wad
[src]
impl PartialEq<Wad> for Wad
[src]
impl StructuralPartialEq for Wad
[src]
Auto Trait Implementations
impl RefUnwindSafe for Wad
impl Send for Wad
impl Sync for Wad
impl Unpin for Wad
impl UnwindSafe for Wad
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,