[][src]Enum brawllib_rs::script_ast::EventAst

pub enum EventAst {
    SyncWait(f32),
    Nop,
    AsyncWait(f32),
    SetLoop(f32),
    ExecuteLoop,
    Subroutine(i32),
    Return,
    Goto(i32),
    IfStatement(IfStatement),
    Switch(i32i32),
    EndSwitch,
    AllowInterrupt,
    ChangeSubAction(i32),
    ChangeSubActionRestartFrame(i32),
    SetFrame(f32),
    FrameSpeedModifier(f32),
    TimeManipulation(i32i32),
    SetAirGround(i32),
    SetEdgeSlide(EdgeSlide),
    ReverseDirection,
    CreateHitBox(HitBoxArguments),
    RemoveAllHitBoxes,
    CreateSpecialHitBox(SpecialHitBoxArguments),
    MoveHitBox(MoveHitBox),
    ChangeHitBoxDamage {
        hitbox_id: i32,
        new_damage: i32,
    },
    ChangeHitBoxSize {
        hitbox_id: i32,
        new_size: i32,
    },
    DeleteHitBox(i32),
    Rumble {
        unk1: i32,
        unk2: i32,
    },
    RumbleLoop {
        unk1: i32,
        unk2: i32,
    },
    SlopeContourStand {
        leg_bone_parent: i32,
    },
    SlopeContourFull {
        hip_n_or_top_n: i32,
        trans_bone: i32,
    },
    SoundEffect1(i32),
    SoundEffect2(i32),
    SoundEffectTransient(i32),
    SoundEffectStop(i32),
    SoundEffectVictory(i32),
    SoundEffectUnk(i32),
    SoundEffectOther1(i32),
    SoundEffectOther2(i32),
    SoundVoiceLow,
    SoundVoiceDamage,
    SoundVoiceOttotto,
    SoundVoiceEating,
    GraphicEffect(GraphicEffect),
    AestheticWindEffect(AestheticWindEffect),
    ScreenShake {
        magnitude: i32,
    },
    ModelChanger {
        reference: u8,
        switch_index: i32,
        bone_group_index: i32,
    },
    Unknown(Event),
}

Variants

SyncWait(f32)NopAsyncWait(f32)SetLoop(f32)ExecuteLoopSubroutine(i32)ReturnGoto(i32)IfStatement(IfStatement)Switch(i32i32)EndSwitchAllowInterruptChangeSubAction(i32)ChangeSubActionRestartFrame(i32)SetFrame(f32)FrameSpeedModifier(f32)TimeManipulation(i32i32)SetAirGround(i32)SetEdgeSlide(EdgeSlide)ReverseDirectionCreateHitBox(HitBoxArguments)RemoveAllHitBoxesCreateSpecialHitBox(SpecialHitBoxArguments)MoveHitBox(MoveHitBox)ChangeHitBoxDamage

Fields of ChangeHitBoxDamage

hitbox_id: i32new_damage: i32
ChangeHitBoxSize

Fields of ChangeHitBoxSize

hitbox_id: i32new_size: i32
DeleteHitBox(i32)Rumble

Fields of Rumble

unk1: i32unk2: i32
RumbleLoop

Fields of RumbleLoop

unk1: i32unk2: i32
SlopeContourStand

Fields of SlopeContourStand

leg_bone_parent: i32
SlopeContourFull

Fields of SlopeContourFull

hip_n_or_top_n: i32trans_bone: i32
SoundEffect1(i32)SoundEffect2(i32)SoundEffectTransient(i32)SoundEffectStop(i32)SoundEffectVictory(i32)SoundEffectUnk(i32)SoundEffectOther1(i32)SoundEffectOther2(i32)SoundVoiceLowSoundVoiceDamageSoundVoiceOttottoSoundVoiceEatingGraphicEffect(GraphicEffect)AestheticWindEffect(AestheticWindEffect)ScreenShake

Fields of ScreenShake

magnitude: i32
ModelChanger

Fields of ModelChanger

reference: u8switch_index: i32bone_group_index: i32
Unknown(Event)

Trait Implementations

impl Clone for EventAst
[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for EventAst
[src]

impl Serialize for EventAst
[src]

Auto Trait Implementations

impl Send for EventAst

impl Sync for EventAst

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]