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§
Sourcefn get_voice_cancel_times(self) -> i32
fn get_voice_cancel_times(self) -> i32
get_VoiceCancelTimes() overload
Sourcefn set_voice_cancel_times(self, value: impl Into<i32>)
fn set_voice_cancel_times(self, value: impl Into<i32>)
set_VoiceCancelTimes(i32) overload
Sourcefn get_walking_speed(self) -> f32
fn get_walking_speed(self) -> f32
get_WalkingSpeed() overload
Sourcefn set_walking_speed(self, value: impl Into<f32>)
fn set_walking_speed(self, value: impl Into<f32>)
set_WalkingSpeed(f32) overload
Sourcefn get_is_mute(self) -> bool
fn get_is_mute(self) -> bool
get_IsMute() overload
Sourcefn set_is_mute(self, value: impl Into<bool>)
fn set_is_mute(self, value: impl Into<bool>)
set_IsMute(bool) overload
Sourcefn on_destroy(self)
fn on_destroy(self)
OnDestroy() overload
Sourcefn get_is_voice_ready(self) -> bool
fn get_is_voice_ready(self) -> bool
get_IsVoiceReady() overload
Sourcefn load_voice(self)
fn load_voice(self)
LoadVoice() overload
Sourcefn unload_voice(self)
fn unload_voice(self)
UnloadVoice() overload
Sourcefn play(self, event_name: impl Into<Il2CppString>)
fn play(self, event_name: impl Into<Il2CppString>)
Play(::unity::Il2CppString) overload
Sourcefn play_with_detail(self, event_name: impl Into<Il2CppString>)
fn play_with_detail(self, event_name: impl Into<Il2CppString>)
PlayWithDetail(::unity::Il2CppString) overload
Sourcefn play_voice(self, event_name: impl Into<Il2CppString>)
fn play_voice(self, event_name: impl Into<Il2CppString>)
PlayVoice(::unity::Il2CppString) overload
Sourcefn play_voice_arena_name(self, event_name: impl Into<Il2CppString>)
fn play_voice_arena_name(self, event_name: impl Into<Il2CppString>)
PlayVoice_ArenaName(::unity::Il2CppString) overload
Sourcefn calculate_mob_voice_id(self) -> Il2CppString
fn calculate_mob_voice_id(self) -> Il2CppString
CalculateMobVoiceID() overload
Sourcefn weapon_open(self)
fn weapon_open(self)
WeaponOpen() overload
Sourcefn weapon_close(self)
fn weapon_close(self)
WeaponClose() overload
Sourcefn play_win_voice(self)
fn play_win_voice(self)
PlayWinVoice() 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§
impl<__T: ICharacterSound> ICharacterSoundMethods for __T
Available on crate feature
combat-charactersound only.