Skip to main content

IStateMethods

Trait IStateMethods 

Source
pub trait IStateMethods: IState {
    // Provided methods
    fn get_name(self) -> Il2CppString { ... }
    fn ctor(self) { ... }
    fn on_enter(self) { ... }
    fn on_update(self) { ... }
    fn on_late_update(self) { ... }
    fn on_exit(self) { ... }
    fn dispose(self) { ... }
    fn exit(self) { ... }
    fn get_abort_by_interrupt(self) -> bool { ... }
}

Provided Methods§

Source

fn get_name(self) -> Il2CppString

get_Name() overload

Source

fn ctor(self)

.ctor() overload

Source

fn on_enter(self)

OnEnter() overload

Source

fn on_update(self)

OnUpdate() overload

Source

fn on_late_update(self)

OnLateUpdate() overload

Source

fn on_exit(self)

OnExit() overload

Source

fn dispose(self)

Dispose() overload

Source

fn exit(self)

Exit() overload

Source

fn get_abort_by_interrupt(self) -> bool

get_AbortByInterrupt() overload

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<__T: IState> IStateMethods for __T

Available on crate feature combat-state only.