Skip to main content

IInventoryUnitItemMenuMethods

Trait IInventoryUnitItemMenuMethods 

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

Source

fn get_m_common_display_index(self) -> i32

get_m_CommonDisplayIndex() overload

Source

fn set_m_common_display_index(self, value: impl Into<i32>)

set_m_CommonDisplayIndex(i32) overload

Source

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

Source

fn get_unit(self) -> Unit

GetUnit() overload

Source

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

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

Source

fn get_select_item(self) -> UnitItem

GetSelectItem() overload

Source

fn get_menu_item_index_equipped(self) -> i32

GetMenuItemIndexEquipped() overload

Source

fn clear_select(self)

ClearSelect() overload

Source

fn set_select(self, select_no: impl Into<i32>)

SetSelect(i32) overload

Source

fn get_first_select(self) -> i32

GetFirstSelect() overload

Source

fn get_second_select(self) -> i32

GetSecondSelect() overload

Source

fn show_cursor(self, is_show: impl Into<bool>)

ShowCursor(bool) overload

Source

fn is_show_cursor(self) -> bool

IsShowCursor() overload

Source

fn enable_input(self, is_enable: impl Into<bool>)

EnableInput(bool) overload

Source

fn is_enable_input(self) -> bool

IsEnableInput() overload

Source

fn set_suspend(self, is_active: impl Into<bool>)

SetSuspend(bool) overload

Source

fn set_first_selection(self, update_common_display_index: impl Into<bool>)

SetFirstSelection(bool) overload

Source

fn reset_first_selection(self)

ResetFirstSelection() overload

Source

fn set_select_index_on_change_menu(self, common_display_index: impl Into<i32>)

SetSelectIndexOnChangeMenu(i32) overload

Source

fn hold_selection(self)

HoldSelection() overload

Source

fn update_menu(self, is_rebuild: impl Into<bool>)

UpdateMenu(bool) overload

Source

fn get_selectable_item_count(self) -> i32

GetSelectableItemCount() overload

Source

fn get_name(self) -> Il2CppString

GetName() overload

Source

fn after_build(self)

AfterBuild() overload

Source

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

ClampMenuItemIndex(i32) overload

Source

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

KeyUp(bool) overload

Source

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

KeyDown(bool) 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 x_call(self) -> BasicMenu_Result

XCall() overload

Source

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§

Source§

impl<__T: IInventoryUnitItemMenu> IInventoryUnitItemMenuMethods for __T

Available on crate feature app-inventoryunititemmenu only.