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§
Sourcefn 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 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
Sourcefn get_name(self) -> Il2CppString
fn get_name(self) -> Il2CppString
GetName() overload
Sourcefn a_call(self) -> BasicMenu_Result
fn a_call(self) -> BasicMenu_Result
ACall() overload
Sourcefn b_call(self) -> BasicMenu_Result
fn b_call(self) -> BasicMenu_Result
BCall() overload
GetUnitMenuItemCurrent() overload
GetUnitMenuItem(i32) overload
GetUnitMenuItem(crate::app::unit::Unit) overload
Sourcefn on_dispose(self)
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§
impl<__T: IUnitSelectMenu_2> IUnitSelectMenu_2Methods for __T
Available on crate feature
app-cooking_menu-unitselectmenu_2 only.