pub trait ITradeMenuMethods: ITradeMenu {
Show 17 methods
// Provided methods
fn ctor(
self,
menu_item_list: impl Into<List_1<BasicMenuItem>>,
menu_content: impl Into<TradeMenuContent>,
) { ... }
fn get_name(self) -> Il2CppString { ... }
fn get_show_row_max(self) -> i32 { ... }
fn get_build_row_num(self) -> i32 { ... }
fn key_left(self, is_trigger: impl Into<bool>) { ... }
fn key_right(self, is_trigger: impl Into<bool>) { ... }
fn after_build(self) { ... }
fn init_left_unit_info(self, unit: impl Into<Unit>) { ... }
fn init_right_unit_info(self, unit: impl Into<Unit>) { ... }
fn set_left_unit_name(self, name: impl Into<Il2CppString>) { ... }
fn set_right_unit_name(self, name: impl Into<Il2CppString>) { ... }
fn can_left_unit_auto_equip(self) -> bool { ... }
fn can_right_unit_auto_equip(self) -> bool { ... }
fn show_select_cursor(self) { ... }
fn hide_select_cursor(self) { ... }
fn set_select_item_index(self, item_index: impl Into<i32>) { ... }
fn get_select_item_index(self) -> i32 { ... }
}Provided Methods§
Sourcefn ctor(
self,
menu_item_list: impl Into<List_1<BasicMenuItem>>,
menu_content: impl Into<TradeMenuContent>,
)
fn ctor( self, menu_item_list: impl Into<List_1<BasicMenuItem>>, menu_content: impl Into<TradeMenuContent>, )
.ctor(crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>, crate::app::trademenucontent::TradeMenuContent) overload
Sourcefn get_name(self) -> Il2CppString
fn get_name(self) -> Il2CppString
GetName() overload
Sourcefn get_show_row_max(self) -> i32
fn get_show_row_max(self) -> i32
GetShowRowMax() overload
Sourcefn get_build_row_num(self) -> i32
fn get_build_row_num(self) -> i32
GetBuildRowNum() overload
Sourcefn after_build(self)
fn after_build(self)
AfterBuild() overload
Sourcefn init_left_unit_info(self, unit: impl Into<Unit>)
fn init_left_unit_info(self, unit: impl Into<Unit>)
InitLeftUnitInfo(crate::app::unit::Unit) overload
Sourcefn init_right_unit_info(self, unit: impl Into<Unit>)
fn init_right_unit_info(self, unit: impl Into<Unit>)
InitRightUnitInfo(crate::app::unit::Unit) overload
Sourcefn set_left_unit_name(self, name: impl Into<Il2CppString>)
fn set_left_unit_name(self, name: impl Into<Il2CppString>)
SetLeftUnitName(::unity::Il2CppString) overload
Sourcefn set_right_unit_name(self, name: impl Into<Il2CppString>)
fn set_right_unit_name(self, name: impl Into<Il2CppString>)
SetRightUnitName(::unity::Il2CppString) overload
Sourcefn can_left_unit_auto_equip(self) -> bool
fn can_left_unit_auto_equip(self) -> bool
CanLeftUnitAutoEquip() overload
Sourcefn can_right_unit_auto_equip(self) -> bool
fn can_right_unit_auto_equip(self) -> bool
CanRightUnitAutoEquip() overload
Sourcefn show_select_cursor(self)
fn show_select_cursor(self)
ShowSelectCursor() overload
Sourcefn hide_select_cursor(self)
fn hide_select_cursor(self)
HideSelectCursor() overload
Sourcefn set_select_item_index(self, item_index: impl Into<i32>)
fn set_select_item_index(self, item_index: impl Into<i32>)
SetSelectItemIndex(i32) overload
Sourcefn get_select_item_index(self) -> i32
fn get_select_item_index(self) -> i32
GetSelectItemIndex() 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: ITradeMenu> ITradeMenuMethods for __T
app-trademenu only.