Skip to main content

ICharacterSoundMethods

Trait ICharacterSoundMethods 

Source
pub trait ICharacterSoundMethods: ICharacterSound {
Show 27 methods // Provided methods fn get_cp(self) -> Character { ... } fn get_voice_cancel_times(self) -> i32 { ... } fn set_voice_cancel_times(self, value: impl Into<i32>) { ... } fn get_walking_speed(self) -> f32 { ... } fn set_walking_speed(self, value: impl Into<f32>) { ... } fn get_is_mute(self) -> bool { ... } fn set_is_mute(self, value: impl Into<bool>) { ... } fn start(self) { ... } fn my_start(self) { ... } fn on_destroy(self) { ... } fn get_is_voice_ready(self) -> bool { ... } fn load_voice(self) { ... } fn unload_voice(self) { ... } fn play(self, event_name: impl Into<Il2CppString>) { ... } fn play_with_detail(self, event_name: impl Into<Il2CppString>) { ... } fn play_voice(self, event_name: impl Into<Il2CppString>) { ... } fn play_voice_arena_name(self, event_name: impl Into<Il2CppString>) { ... } fn calculate_mob_voice_id(self) -> Il2CppString { ... } fn footstep(self) { ... } fn swing(self) { ... } fn flap(self) { ... } fn weapon_open(self) { ... } fn weapon_close(self) { ... } fn shoot(self) { ... } fn play_win_voice(self) { ... } fn on_die(self) { ... } fn ctor(self) { ... }
}

Provided Methods§

Source

fn get_cp(self) -> Character

get_CP() overload

Source

fn get_voice_cancel_times(self) -> i32

get_VoiceCancelTimes() overload

Source

fn set_voice_cancel_times(self, value: impl Into<i32>)

set_VoiceCancelTimes(i32) overload

Source

fn get_walking_speed(self) -> f32

get_WalkingSpeed() overload

Source

fn set_walking_speed(self, value: impl Into<f32>)

set_WalkingSpeed(f32) overload

Source

fn get_is_mute(self) -> bool

get_IsMute() overload

Source

fn set_is_mute(self, value: impl Into<bool>)

set_IsMute(bool) overload

Source

fn start(self)

Start() overload

Source

fn my_start(self)

MyStart() overload

Source

fn on_destroy(self)

OnDestroy() overload

Source

fn get_is_voice_ready(self) -> bool

get_IsVoiceReady() overload

Source

fn load_voice(self)

LoadVoice() overload

Source

fn unload_voice(self)

UnloadVoice() overload

Source

fn play(self, event_name: impl Into<Il2CppString>)

Play(::unity::Il2CppString) overload

Source

fn play_with_detail(self, event_name: impl Into<Il2CppString>)

PlayWithDetail(::unity::Il2CppString) overload

Source

fn play_voice(self, event_name: impl Into<Il2CppString>)

PlayVoice(::unity::Il2CppString) overload

Source

fn play_voice_arena_name(self, event_name: impl Into<Il2CppString>)

PlayVoice_ArenaName(::unity::Il2CppString) overload

Source

fn calculate_mob_voice_id(self) -> Il2CppString

CalculateMobVoiceID() overload

Source

fn footstep(self)

Footstep() overload

Source

fn swing(self)

Swing() overload

Source

fn flap(self)

Flap() overload

Source

fn weapon_open(self)

WeaponOpen() overload

Source

fn weapon_close(self)

WeaponClose() overload

Source

fn shoot(self)

Shoot() overload

Source

fn play_win_voice(self)

PlayWinVoice() overload

Source

fn on_die(self)

OnDie() 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: ICharacterSound> ICharacterSoundMethods for __T

Available on crate feature combat-charactersound only.