pub trait IBasicDialogContentMethods: IBasicDialogContent {
Show 13 methods
// Provided methods
fn set_text(self, text: impl Into<Il2CppString>) { ... }
fn calc_text_w(self) -> f32 { ... }
fn calc_text_h(self) -> f32 { ... }
fn set_shadow_off(self) { ... }
fn set_shadow_pos(self, x: impl Into<f32>, y: impl Into<f32>) { ... }
fn build_wh(self) { ... }
fn calc_w(self) -> f32 { ... }
fn calc_h(self) -> f32 { ... }
fn calc_cursor_moved_pos_x(self, menu_item_index: impl Into<i32>) -> f32 { ... }
fn calc_cursor_moved_pos_y(self, menu_item_index: impl Into<i32>) -> f32 { ... }
fn init_obj_reference(self) { ... }
fn build_menu_item_content(self) { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn set_text(self, text: impl Into<Il2CppString>)
fn set_text(self, text: impl Into<Il2CppString>)
SetText(::unity::Il2CppString) overload
Sourcefn calc_text_w(self) -> f32
fn calc_text_w(self) -> f32
CalcTextW() overload
Sourcefn calc_text_h(self) -> f32
fn calc_text_h(self) -> f32
CalcTextH() overload
Sourcefn set_shadow_off(self)
fn set_shadow_off(self)
SetShadowOff() overload
Sourcefn set_shadow_pos(self, x: impl Into<f32>, y: impl Into<f32>)
fn set_shadow_pos(self, x: impl Into<f32>, y: impl Into<f32>)
SetShadowPos(f32, f32) overload
Sourcefn calc_cursor_moved_pos_x(self, menu_item_index: impl Into<i32>) -> f32
fn calc_cursor_moved_pos_x(self, menu_item_index: impl Into<i32>) -> f32
CalcCursorMovedPosX(i32) overload
Sourcefn calc_cursor_moved_pos_y(self, menu_item_index: impl Into<i32>) -> f32
fn calc_cursor_moved_pos_y(self, menu_item_index: impl Into<i32>) -> f32
CalcCursorMovedPosY(i32) overload
Sourcefn init_obj_reference(self)
fn init_obj_reference(self)
InitObjReference() overload
BuildMenuItemContent() 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: IBasicDialogContent> IBasicDialogContentMethods for __T
Available on crate feature
app-basicdialogcontent only.