pub struct SoundRoutingState {
pub koe_chara_no: i64,
pub koe_ex_flag: bool,
pub bgmfade2_need_flag: bool,
pub bgmfade_flag: bool,
pub bgmfade_cur_time: i64,
pub bgmfade_start_value: i64,
pub bgmfade_total_volume: i64,
pub bgmfade2_flag: bool,
pub bgmfade2_cur_time: i64,
pub bgmfade2_start_value: i64,
pub bgmfade2_total_volume: i64,
pub chrkoe_chara_lists_cache: Arc<Vec<Vec<i64>>>,
}Fields§
§koe_chara_no: i64Current C_elm_koe playback metadata. This is independent from the
message-local cur_koe_no: EXKOE must affect the actual buffer volume
without replacing the voice attached to message history/replay.
koe_ex_flag: bool§bgmfade2_need_flag: boolOriginal global guard used when restoring BGMFADE2 after a message without an attached voice.
bgmfade_flag: bool§bgmfade_cur_time: i64§bgmfade_start_value: i64§bgmfade_total_volume: i64§bgmfade2_flag: bool§bgmfade2_cur_time: i64§bgmfade2_start_value: i64§bgmfade2_total_volume: i64§chrkoe_chara_lists_cache: Arc<Vec<Vec<i64>>>Cached #CHRKOE.i character-number lists parsed from the immutable
Gameexe table. Re-parsing these entries on every routing update was the
dominant per-frame allocation hotspot on mobile.
Trait Implementations§
Source§impl Clone for SoundRoutingState
impl Clone for SoundRoutingState
Source§fn clone(&self) -> SoundRoutingState
fn clone(&self) -> SoundRoutingState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SoundRoutingState
impl Debug for SoundRoutingState
Auto Trait Implementations§
impl Freeze for SoundRoutingState
impl RefUnwindSafe for SoundRoutingState
impl Send for SoundRoutingState
impl Sync for SoundRoutingState
impl Unpin for SoundRoutingState
impl UnsafeUnpin for SoundRoutingState
impl UnwindSafe for SoundRoutingState
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.