Skip to main content

ITradeMenuMethods

Trait ITradeMenuMethods 

Source
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§

Source

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

Source

fn get_name(self) -> Il2CppString

GetName() overload

Source

fn get_show_row_max(self) -> i32

GetShowRowMax() overload

Source

fn get_build_row_num(self) -> i32

GetBuildRowNum() overload

Source

fn key_left(self, is_trigger: impl Into<bool>)

KeyLeft(bool) overload

Source

fn key_right(self, is_trigger: impl Into<bool>)

KeyRight(bool) overload

Source

fn after_build(self)

AfterBuild() overload

Source

fn init_left_unit_info(self, unit: impl Into<Unit>)

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

Source

fn init_right_unit_info(self, unit: impl Into<Unit>)

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

Source

fn set_left_unit_name(self, name: impl Into<Il2CppString>)

SetLeftUnitName(::unity::Il2CppString) overload

Source

fn set_right_unit_name(self, name: impl Into<Il2CppString>)

SetRightUnitName(::unity::Il2CppString) overload

Source

fn can_left_unit_auto_equip(self) -> bool

CanLeftUnitAutoEquip() overload

Source

fn can_right_unit_auto_equip(self) -> bool

CanRightUnitAutoEquip() overload

Source

fn show_select_cursor(self)

ShowSelectCursor() overload

Source

fn hide_select_cursor(self)

HideSelectCursor() overload

Source

fn set_select_item_index(self, item_index: impl Into<i32>)

SetSelectItemIndex(i32) overload

Source

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§

Source§

impl<__T: ITradeMenu> ITradeMenuMethods for __T

Available on crate feature app-trademenu only.