Struct Bba

Source
pub struct Bba {}
Expand description

Animation format.

§Format Description

A placeholder description from http://fabletlcmod.com:

3DAF: 3D Sequence File
    ANRT: (File Size of all Chunks)
    AOBJ: Animated Object
        AMSK: Animation Mask
        XSEQ: Compressed Animation Sequence
    HLPR: Helpers
        TMEV: Timing Event
        MVEC: Movement Vector
        XALO: Allocation Size Helper Chunk??


0 - No bytes (My personal favorite)
1 - 2 Ints (No Strange Stuff)
2 - INT, Byte, Byte (flag)
                   Flag = 1: Int, Byte, Float, Int
                   Flag = 0: Short, Int Int
3 - Int, Int, Int, Int (Flag?)
                   Flag = 6: Byte, Byte
                   Flag = 3: Int Int
                   Flag = anything else?: Int
4 - Int, Int, Int, Int, Int, Int, Int (Flag)
                   Flag = 0: Int
                   Flag = 4: Int, Int
                   Flag = 5: Int
                   Flag = anything else?: No further data
5 - Int, Int, Int, Int, Int, Byte, Byte (Flag)
                   Flag = 1: Int, Byte, Float, Float, Int, Int (String Size), ~String
                   Flag = 0: Short, Int, Int, Int (Flag?)
                                       Flag = 4294966519: Int, Int, Byte, Byte
                                       Flag !=4294966519: Int, Int, Int

I believe I cracked the format for animations a while ago. If I remember correctly it was a quaternion based system.

Lets start it off simple. CAppearanceDef application, first off what does this do? It basically is the list of animations the hero users when called upon. This is essentially how I created the "Piss" Expression, you could change animation IDs for say when your hero runs with a large sword, add jumps etc... This Cdef couldn't be done with the xml so something custom was made.

Auto Trait Implementations§

§

impl Freeze for Bba

§

impl RefUnwindSafe for Bba

§

impl Send for Bba

§

impl Sync for Bba

§

impl Unpin for Bba

§

impl UnwindSafe for Bba

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.