Skip to main content

IUnitSelectMenu_2Methods

Trait IUnitSelectMenu_2Methods 

Source
pub trait IUnitSelectMenu_2Methods: IUnitSelectMenu_2 {
    // Provided methods
    fn ctor(
        self,
        menu_item_list: impl Into<List_1<BasicMenuItem>>,
        menu_content: impl Into<UnitSelectMenuContent_2>,
        select_unit_list: impl Into<List_1<Unit>>,
        close_callback: impl Into<Action>,
    ) { ... }
    fn get_name(self) -> Il2CppString { ... }
    fn a_call(self) -> BasicMenu_Result { ... }
    fn next_item(self) { ... }
    fn b_call(self) -> BasicMenu_Result { ... }
    fn get_unit_menu_item_current(self) -> UnitSelectMenu_UnitSelectMenuItem { ... }
    fn get_unit_menu_item(
        self,
        index: impl Into<i32>,
    ) -> UnitSelectMenu_UnitSelectMenuItem { ... }
    fn get_unit_menu_item_2(
        self,
        unit: impl Into<Unit>,
    ) -> UnitSelectMenu_UnitSelectMenuItem { ... }
    fn on_close(self) { ... }
    fn on_dispose(self) { ... }
}

Provided Methods§

Source

fn ctor( self, menu_item_list: impl Into<List_1<BasicMenuItem>>, menu_content: impl Into<UnitSelectMenuContent_2>, select_unit_list: impl Into<List_1<Unit>>, close_callback: impl Into<Action>, )

.ctor(crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>, crate::app::cooking_menu::unitselectmenucontent_2::UnitSelectMenuContent_2, crate::system::collections::generic::list_1::List_1<crate::app::unit::Unit>, crate::system::action::Action) overload

Source

fn get_name(self) -> Il2CppString

GetName() overload

Source

fn a_call(self) -> BasicMenu_Result

ACall() overload

Source

fn next_item(self)

NextItem() overload

Source

fn b_call(self) -> BasicMenu_Result

BCall() overload

Source

fn get_unit_menu_item_current(self) -> UnitSelectMenu_UnitSelectMenuItem

GetUnitMenuItemCurrent() overload

Source

fn get_unit_menu_item( self, index: impl Into<i32>, ) -> UnitSelectMenu_UnitSelectMenuItem

GetUnitMenuItem(i32) overload

Source

fn get_unit_menu_item_2( self, unit: impl Into<Unit>, ) -> UnitSelectMenu_UnitSelectMenuItem

GetUnitMenuItem(crate::app::unit::Unit) overload

Source

fn on_close(self)

OnClose() overload

Source

fn on_dispose(self)

OnDispose() 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: IUnitSelectMenu_2> IUnitSelectMenu_2Methods for __T

Available on crate feature app-cooking_menu-unitselectmenu_2 only.