Skip to main content

IBasicDialogMethods

Trait IBasicDialogMethods 

Source
pub trait IBasicDialogMethods: IBasicDialog {
    // Provided methods
    fn ctor(
        self,
        menu_item_list: impl Into<List_1<BasicMenuItem>>,
        menu_content: impl Into<BasicDialogContent>,
    ) { ... }
    fn create_default_desc(self) -> Array<ProcDesc> { ... }
    fn bind_bg(self) { ... }
    fn after_build(self) { ... }
    fn get_open_sound_event(self) -> Il2CppString { ... }
    fn on_close(self) { ... }
    fn set_text(self, text: impl Into<Il2CppString>) { ... }
    fn set_shadow_off(self) { ... }
    fn set_pos(self, x: impl Into<f32>, y: impl Into<f32>) { ... }
    fn set_background_blur_off(self) { ... }
}

Provided Methods§

Source

fn ctor( self, menu_item_list: impl Into<List_1<BasicMenuItem>>, menu_content: impl Into<BasicDialogContent>, )

.ctor(crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>, crate::app::basicdialogcontent::BasicDialogContent) overload

Source

fn create_default_desc(self) -> Array<ProcDesc>

CreateDefaultDesc() overload

Source

fn bind_bg(self)

BindBg() overload

Source

fn after_build(self)

AfterBuild() overload

Source

fn get_open_sound_event(self) -> Il2CppString

GetOpenSoundEvent() overload

Source

fn on_close(self)

OnClose() overload

Source

fn set_text(self, text: impl Into<Il2CppString>)

SetText(::unity::Il2CppString) overload

Source

fn set_shadow_off(self)

SetShadowOff() overload

Source

fn set_pos(self, x: impl Into<f32>, y: impl Into<f32>)

SetPos(f32, f32) overload

Source

fn set_background_blur_off(self)

SetBackgroundBlurOff() 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: IBasicDialog> IBasicDialogMethods for __T

Available on crate feature app-basicdialog only.