Skip to main content

MwndState

Struct MwndState 

Source
pub struct MwndState {
Show 69 fields pub initialized_from_gameexe: bool, pub open: bool, pub name_text: String, pub msg_text: String, pub msg_waku_no: Option<i64>, pub waku_file: String, pub filter_file: String, pub filter_margin: Option<(i64, i64, i64, i64)>, pub filter_color: Option<(u8, u8, u8, u8)>, pub filter_config_color: bool, pub filter_config_tr: bool, pub waku_extend_type: i64, pub icon_no: i64, pub page_icon_no: i64, pub key_icon_appear: bool, pub key_icon_mode: i64, pub key_icon_pos: Option<(i64, i64)>, pub icon_pos_type: i64, pub icon_pos_base: i64, pub icon_pos: Option<(i64, i64, i64)>, pub waku_button_layout: Vec<(i64, i64, i64)>, pub waku_face_pos: Vec<(i64, i64)>, pub face_file: String, pub face_no: i64, pub rep_pos: Option<(i64, i64)>, pub msgbtn: Option<(i64, i64, i64, i64)>, pub window_pos: Option<(i64, i64)>, pub window_size: Option<(i64, i64)>, pub message_pos: Option<(i64, i64)>, pub message_margin: Option<(i64, i64, i64, i64)>, pub window_moji_cnt: Option<(i64, i64)>, pub moji_space: Option<(i64, i64)>, pub mwnd_extend_type: i64, pub multi_msg: bool, pub ruby_text: Option<String>, pub koe: Option<(i64, i64)>, pub order: i64, pub layer: i64, pub world: i64, pub moji_size: Option<i64>, pub moji_color: Option<i64>, pub shadow_color: Option<i64>, pub fuchi_color: Option<i64>, pub chara_color_mod: Option<i64>, pub chara_moji_color: Option<i64>, pub chara_shadow_color: Option<i64>, pub chara_fuchi_color: Option<i64>, pub name_moji_color: Option<i64>, pub name_shadow_color: Option<i64>, pub name_fuchi_color: Option<i64>, pub indent: bool, pub slide_msg: bool, pub slide_time: i64, pub open_anime_type: i64, pub open_anime_time: i64, pub close_anime_type: i64, pub close_anime_time: i64, pub selection: Option<MwndSelectionState>, pub text_dirty: bool, pub clear_ready: bool, pub msg_block_started: bool, pub button_list: Vec<ObjectState>, pub button_list_strict: bool, pub face_list: Vec<ObjectState>, pub face_list_strict: bool, pub object_list: Vec<ObjectState>, pub object_list_strict: bool, pub props: HashMap<i32, i64>, pub aux_str_props: HashMap<i32, String>,
}

Fields§

§initialized_from_gameexe: bool§open: bool§name_text: String§msg_text: String§msg_waku_no: Option<i64>§waku_file: String§filter_file: String§filter_margin: Option<(i64, i64, i64, i64)>§filter_color: Option<(u8, u8, u8, u8)>§filter_config_color: bool§filter_config_tr: bool§waku_extend_type: i64§icon_no: i64§page_icon_no: i64§key_icon_appear: bool§key_icon_mode: i64§key_icon_pos: Option<(i64, i64)>§icon_pos_type: i64§icon_pos_base: i64§icon_pos: Option<(i64, i64, i64)>§waku_button_layout: Vec<(i64, i64, i64)>

Per-button WAKU template placement: (pos_base, x, y).

§waku_face_pos: Vec<(i64, i64)>

Per-face WAKU template placement.

§face_file: String§face_no: i64§rep_pos: Option<(i64, i64)>§msgbtn: Option<(i64, i64, i64, i64)>§window_pos: Option<(i64, i64)>§window_size: Option<(i64, i64)>§message_pos: Option<(i64, i64)>§message_margin: Option<(i64, i64, i64, i64)>§window_moji_cnt: Option<(i64, i64)>§moji_space: Option<(i64, i64)>§mwnd_extend_type: i64§multi_msg: bool§ruby_text: Option<String>§koe: Option<(i64, i64)>§order: i64

C++ C_elm_mwnd::get_sorter() uses an order/layer pair. There is no public MWND.ORDER script element in the recovered headers; this order is initialized from the engine MWND render defaults and is kept as runtime state so wipe/render code does not read a global table in place of the per-MWND sorter.

§layer: i64§world: i64§moji_size: Option<i64>§moji_color: Option<i64>§shadow_color: Option<i64>§fuchi_color: Option<i64>§chara_color_mod: Option<i64>§chara_moji_color: Option<i64>§chara_shadow_color: Option<i64>§chara_fuchi_color: Option<i64>§name_moji_color: Option<i64>§name_shadow_color: Option<i64>§name_fuchi_color: Option<i64>§indent: bool§slide_msg: bool§slide_time: i64§open_anime_type: i64§open_anime_time: i64§close_anime_type: i64§close_anime_time: i64§selection: Option<MwndSelectionState>§text_dirty: bool§clear_ready: bool§msg_block_started: bool§button_list: Vec<ObjectState>§button_list_strict: bool§face_list: Vec<ObjectState>§face_list_strict: bool§object_list: Vec<ObjectState>§object_list_strict: bool§props: HashMap<i32, i64>§aux_str_props: HashMap<i32, String>

Trait Implementations§

Source§

impl Clone for MwndState

Source§

fn clone(&self) -> MwndState

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for MwndState

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for MwndState

Source§

fn default() -> MwndState

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
§

impl<T> Downcast<T> for T

§

fn downcast(&self) -> &T

§

impl<T> Downcast for T
where T: 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>

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)

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)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
§

impl<T> DowncastSync for T
where T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Sync + Send>

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be further downcast into Arc<ConcreteType> where ConcreteType implements Trait.
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<S> FromSample<S> for S

§

fn from_sample_(s: S) -> S

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<F, T> IntoSample<T> for F
where T: FromSample<F>,

§

fn into_sample(self) -> T

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
§

impl<T, U> ToSample<U> for T
where U: FromSample<T>,

§

fn to_sample_(self) -> U

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Upcast<T> for T

§

fn upcast(&self) -> Option<&T>

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

impl<S, T> Duplex<S> for T
where T: FromSample<S> + ToSample<S>,

§

impl<T> SerializableAny for T
where T: 'static + Any + Clone + for<'a> Send + Sync,

§

impl<T> WasmNotSend for T
where T: Send,

§

impl<T> WasmNotSendSync for T
where T: WasmNotSend + WasmNotSync,

§

impl<T> WasmNotSync for T
where T: Sync,