Skip to main content

IInventoryPoolItemMenuMethods

Trait IInventoryPoolItemMenuMethods 

Source
pub trait IInventoryPoolItemMenuMethods: IInventoryPoolItemMenu {
Show 34 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<InventoryPoolItemMenuContent>, ) { ... } fn get_select_item(self) -> UnitItem { ... } fn save_select_item(self) { ... } fn get_select_unit(self) -> Unit { ... } fn update_unit(self, unit: impl Into<Unit>) { ... } fn update_unit_2( self, unit: impl Into<Unit>, is_chara_only_on: impl Into<bool>, ) { ... } fn set_item_kind( self, item_kind: impl Into<ItemData_Kinds>, is_auto_select: impl Into<bool>, ) { ... } fn set_first_kind(self, is_auto_select: impl Into<bool>) { ... } fn set_last_kind(self, is_auto_select: impl Into<bool>) { ... } fn inc_kind(self) -> bool { ... } fn dec_kind(self) -> bool { ... } 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) { ... } fn reset_first_selection(self) { ... } fn set_select_index_on_change_menu( self, common_display_index: impl Into<i32>, kind: impl Into<InventoryPoolItemMenu_Kinds>, ) { ... } fn hold_selection(self) { ... } fn update_menu(self, is_auto_select: 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 { ... } fn sort(self) { ... }
}

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<InventoryPoolItemMenuContent>, )

.ctor(crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>, crate::app::inventorypoolitemmenucontent::InventoryPoolItemMenuContent) overload

Source

fn get_select_item(self) -> UnitItem

GetSelectItem() overload

Source

fn save_select_item(self)

SaveSelectItem() overload

Source

fn get_select_unit(self) -> Unit

GetSelectUnit() overload

Source

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

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

Source

fn update_unit_2(self, unit: impl Into<Unit>, is_chara_only_on: impl Into<bool>)

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

Source

fn set_item_kind( self, item_kind: impl Into<ItemData_Kinds>, is_auto_select: impl Into<bool>, )

SetItemKind(crate::app::itemdata::ItemData_Kinds, bool) overload

Source

fn set_first_kind(self, is_auto_select: impl Into<bool>)

SetFirstKind(bool) overload

Source

fn set_last_kind(self, is_auto_select: impl Into<bool>)

SetLastKind(bool) overload

Source

fn inc_kind(self) -> bool

IncKind() overload

Source

fn dec_kind(self) -> bool

DecKind() 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)

SetFirstSelection() overload

Source

fn reset_first_selection(self)

ResetFirstSelection() overload

Source

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

SetSelectIndexOnChangeMenu(i32, crate::app::inventorypoolitemmenu::InventoryPoolItemMenu_Kinds) overload

Source

fn hold_selection(self)

HoldSelection() overload

Source

fn update_menu(self, is_auto_select: 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

Source

fn sort(self)

Sort() 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: IInventoryPoolItemMenu> IInventoryPoolItemMenuMethods for __T

Available on crate feature app-inventorypoolitemmenu only.