pub trait IInventoryUnitItemMenuMethods: IInventoryUnitItemMenu {
Show 31 methods
// Provided methods
fn get_m_common_display_index(self) -> i32 { ... }
fn set_m_common_display_index(self, value: impl Into<i32>) { ... }
fn ctor(
self,
menu_item_list: impl Into<List_1<BasicMenuItem>>,
menu_content: impl Into<InventoryUnitItemMenuContent>,
) { ... }
fn get_unit(self) -> Unit { ... }
fn update_unit(self, unit: impl Into<Unit>) { ... }
fn get_select_item(self) -> UnitItem { ... }
fn get_menu_item_index_equipped(self) -> i32 { ... }
fn clear_select(self) { ... }
fn set_select(self, select_no: impl Into<i32>) { ... }
fn get_first_select(self) -> i32 { ... }
fn get_second_select(self) -> i32 { ... }
fn show_cursor(self, is_show: impl Into<bool>) { ... }
fn is_show_cursor(self) -> bool { ... }
fn enable_input(self, is_enable: impl Into<bool>) { ... }
fn is_enable_input(self) -> bool { ... }
fn set_suspend(self, is_active: impl Into<bool>) { ... }
fn set_first_selection(self, update_common_display_index: impl Into<bool>) { ... }
fn reset_first_selection(self) { ... }
fn set_select_index_on_change_menu(
self,
common_display_index: impl Into<i32>,
) { ... }
fn hold_selection(self) { ... }
fn update_menu(self, is_rebuild: impl Into<bool>) { ... }
fn get_selectable_item_count(self) -> i32 { ... }
fn get_name(self) -> Il2CppString { ... }
fn after_build(self) { ... }
fn clamp_menu_item_index(self, item_index: impl Into<i32>) -> i32 { ... }
fn key_up(self, is_trigger: impl Into<bool>) { ... }
fn key_down(self, is_trigger: impl Into<bool>) { ... }
fn key_left(self, is_trigger: impl Into<bool>) { ... }
fn key_right(self, is_trigger: impl Into<bool>) { ... }
fn x_call(self) -> BasicMenu_Result { ... }
fn custom_call(self) -> BasicMenu_Result { ... }
}Provided Methods§
Sourcefn get_m_common_display_index(self) -> i32
fn get_m_common_display_index(self) -> i32
get_m_CommonDisplayIndex() overload
Sourcefn set_m_common_display_index(self, value: impl Into<i32>)
fn set_m_common_display_index(self, value: impl Into<i32>)
set_m_CommonDisplayIndex(i32) overload
Sourcefn ctor(
self,
menu_item_list: impl Into<List_1<BasicMenuItem>>,
menu_content: impl Into<InventoryUnitItemMenuContent>,
)
fn ctor( self, menu_item_list: impl Into<List_1<BasicMenuItem>>, menu_content: impl Into<InventoryUnitItemMenuContent>, )
.ctor(crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>, crate::app::inventoryunititemmenucontent::InventoryUnitItemMenuContent) overload
Sourcefn update_unit(self, unit: impl Into<Unit>)
fn update_unit(self, unit: impl Into<Unit>)
UpdateUnit(crate::app::unit::Unit) overload
Sourcefn get_select_item(self) -> UnitItem
fn get_select_item(self) -> UnitItem
GetSelectItem() overload
GetMenuItemIndexEquipped() overload
Sourcefn clear_select(self)
fn clear_select(self)
ClearSelect() overload
Sourcefn set_select(self, select_no: impl Into<i32>)
fn set_select(self, select_no: impl Into<i32>)
SetSelect(i32) overload
Sourcefn get_first_select(self) -> i32
fn get_first_select(self) -> i32
GetFirstSelect() overload
Sourcefn get_second_select(self) -> i32
fn get_second_select(self) -> i32
GetSecondSelect() overload
Sourcefn show_cursor(self, is_show: impl Into<bool>)
fn show_cursor(self, is_show: impl Into<bool>)
ShowCursor(bool) overload
Sourcefn is_show_cursor(self) -> bool
fn is_show_cursor(self) -> bool
IsShowCursor() overload
Sourcefn enable_input(self, is_enable: impl Into<bool>)
fn enable_input(self, is_enable: impl Into<bool>)
EnableInput(bool) overload
Sourcefn is_enable_input(self) -> bool
fn is_enable_input(self) -> bool
IsEnableInput() overload
Sourcefn set_suspend(self, is_active: impl Into<bool>)
fn set_suspend(self, is_active: impl Into<bool>)
SetSuspend(bool) overload
Sourcefn set_first_selection(self, update_common_display_index: impl Into<bool>)
fn set_first_selection(self, update_common_display_index: impl Into<bool>)
SetFirstSelection(bool) overload
Sourcefn reset_first_selection(self)
fn reset_first_selection(self)
ResetFirstSelection() overload
SetSelectIndexOnChangeMenu(i32) overload
Sourcefn hold_selection(self)
fn hold_selection(self)
HoldSelection() overload
UpdateMenu(bool) overload
Sourcefn get_selectable_item_count(self) -> i32
fn get_selectable_item_count(self) -> i32
GetSelectableItemCount() overload
Sourcefn get_name(self) -> Il2CppString
fn get_name(self) -> Il2CppString
GetName() overload
Sourcefn after_build(self)
fn after_build(self)
AfterBuild() overload
ClampMenuItemIndex(i32) overload
Sourcefn x_call(self) -> BasicMenu_Result
fn x_call(self) -> BasicMenu_Result
XCall() overload
Sourcefn custom_call(self) -> BasicMenu_Result
fn custom_call(self) -> BasicMenu_Result
CustomCall() 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: IInventoryUnitItemMenu> IInventoryUnitItemMenuMethods for __T
app-inventoryunititemmenu only.