Skip to main content

IAkEventMethods

Trait IAkEventMethods 

Source
pub trait IAkEventMethods: IAkEvent {
    // Provided methods
    fn start(self) { ... }
    fn callback(
        self,
        in_cookie: impl Into<Object>,
        in_type: impl Into<AkCallbackType>,
        in_info: impl Into<AkCallbackInfo>,
    ) { ... }
    fn handle_event(self, in_game_object: impl Into<GameObject>) { ... }
    fn stop(self, transition_duration: impl Into<i32>) { ... }
    fn stop_2(
        self,
        transition_duration: impl Into<i32>,
        curve_interpolation: impl Into<AkCurveInterpolation>,
    ) { ... }
    fn get_event_id(self) -> i32 { ... }
    fn get_value_guid(self) -> Array<u8> { ... }
    fn get_m_callback_data(self) -> AkEventCallbackData { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn start(self)

Start() overload

Source

fn callback( self, in_cookie: impl Into<Object>, in_type: impl Into<AkCallbackType>, in_info: impl Into<AkCallbackInfo>, )

Callback(crate::system::object::Object, crate::root::akcallbacktype::AkCallbackType, crate::root::akcallbackinfo::AkCallbackInfo) overload

Source

fn handle_event(self, in_game_object: impl Into<GameObject>)

HandleEvent(crate::unity_engine::gameobject::GameObject) overload

Source

fn stop(self, transition_duration: impl Into<i32>)

Stop(i32) overload

Source

fn stop_2( self, transition_duration: impl Into<i32>, curve_interpolation: impl Into<AkCurveInterpolation>, )

Stop(i32, crate::root::akcurveinterpolation::AkCurveInterpolation) overload

Source

fn get_event_id(self) -> i32

get_eventID() overload

Source

fn get_value_guid(self) -> Array<u8>

get_valueGuid() overload

Source

fn get_m_callback_data(self) -> AkEventCallbackData

get_m_callbackData() overload

Source

fn ctor(self)

.ctor() 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: IAkEvent> IAkEventMethods for __T

Available on crate feature root-akevent only.