Skip to main content

IShopUnitSelectMenuMethods

Trait IShopUnitSelectMenuMethods 

Source
pub trait IShopUnitSelectMenuMethods: IShopUnitSelectMenu {
    // Provided methods
    fn get_m_help_event_handler(self) -> ShopUnitSelectMenu_HelpEventHandler { ... }
    fn set_m_help_event_handler(
        self,
        value: impl Into<ShopUnitSelectMenu_HelpEventHandler>,
    ) { ... }
    fn ctor(
        self,
        menu_item_list: impl Into<List_1<BasicMenuItem>>,
        menu_content: impl Into<ShopUnitSelectMenuContent>,
        menu_object: impl Into<GameObject>,
        default_menu_item_index: impl Into<i32>,
        default_scroll_index: impl Into<i32>,
        help_event_handler: impl Into<ShopUnitSelectMenu_HelpEventHandler>,
        show_god_ring_icon: impl Into<bool>,
    ) { ... }
    fn get_name(self) -> Il2CppString { ... }
    fn x_call(self) -> BasicMenu_Result { ... }
    fn is_show_god_ring_icon(self) -> bool { ... }
}

Provided Methods§

Source

fn get_m_help_event_handler(self) -> ShopUnitSelectMenu_HelpEventHandler

get_m_HelpEventHandler() overload

Source

fn set_m_help_event_handler( self, value: impl Into<ShopUnitSelectMenu_HelpEventHandler>, )

set_m_HelpEventHandler(crate::app::shopunitselectmenu::ShopUnitSelectMenu_HelpEventHandler) overload

Source

fn ctor( self, menu_item_list: impl Into<List_1<BasicMenuItem>>, menu_content: impl Into<ShopUnitSelectMenuContent>, menu_object: impl Into<GameObject>, default_menu_item_index: impl Into<i32>, default_scroll_index: impl Into<i32>, help_event_handler: impl Into<ShopUnitSelectMenu_HelpEventHandler>, show_god_ring_icon: impl Into<bool>, )

.ctor(crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>, crate::app::shopunitselectmenucontent::ShopUnitSelectMenuContent, crate::unity_engine::gameobject::GameObject, i32, i32, crate::app::shopunitselectmenu::ShopUnitSelectMenu_HelpEventHandler, bool) overload

Source

fn get_name(self) -> Il2CppString

GetName() overload

Source

fn x_call(self) -> BasicMenu_Result

XCall() overload

Source

fn is_show_god_ring_icon(self) -> bool

IsShowGodRingIcon() 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: IShopUnitSelectMenu> IShopUnitSelectMenuMethods for __T

Available on crate feature app-shopunitselectmenu only.