Skip to main content

IWellItemSelectMenuMethods

Trait IWellItemSelectMenuMethods 

Source
pub trait IWellItemSelectMenuMethods: IWellItemSelectMenu {
Show 35 methods // Provided methods fn get_selected_kind(self) -> ItemData_Kinds { ... } 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<WellItemSelectMenuContent>, ) { ... } 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 update_item_help(self, unit: impl Into<Unit>, item: impl Into<UnitItem>) { ... } fn is_marking_item_full(self) -> bool { ... } fn is_marking_item_empty(self) -> bool { ... } fn add_selected_item( self, unit: impl Into<Unit>, owner_item_index: impl Into<i32>, menu_item: impl Into<WellItemSelectMenuItem>, ) { ... } fn remove_selected_item( self, unit: impl Into<Unit>, owner_item_index: impl Into<i32>, ) { ... } fn remove_selected_last_item(self) -> bool { ... } fn get_last_selected_item(self) -> WellItemSelectMenuItem { ... } fn set_item_kind_index( self, kind_index: impl Into<i32>, 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 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<WellItemSelectMenu_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 sort(self) { ... } fn get_marking_item_list(self) -> List_1<UnitItem> { ... } fn put_off_marking_items(self) { ... }
}

Provided Methods§

Source

fn get_selected_kind(self) -> ItemData_Kinds

get_SelectedKind() overload

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

.ctor(crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>, crate::app::wellitemselectmenucontent::WellItemSelectMenuContent) 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 update_item_help(self, unit: impl Into<Unit>, item: impl Into<UnitItem>)

UpdateItemHelp(crate::app::unit::Unit, crate::app::unititem::UnitItem) overload

Source

fn is_marking_item_full(self) -> bool

IsMarkingItemFull() overload

Source

fn is_marking_item_empty(self) -> bool

IsMarkingItemEmpty() overload

Source

fn add_selected_item( self, unit: impl Into<Unit>, owner_item_index: impl Into<i32>, menu_item: impl Into<WellItemSelectMenuItem>, )

AddSelectedItem(crate::app::unit::Unit, i32, crate::app::wellitemselectmenuitem::WellItemSelectMenuItem) overload

Source

fn remove_selected_item( self, unit: impl Into<Unit>, owner_item_index: impl Into<i32>, )

RemoveSelectedItem(crate::app::unit::Unit, i32) overload

Source

fn remove_selected_last_item(self) -> bool

RemoveSelectedLastItem() overload

Source

fn get_last_selected_item(self) -> WellItemSelectMenuItem

GetLastSelectedItem() overload

Source

fn set_item_kind_index( self, kind_index: impl Into<i32>, is_auto_select: impl Into<bool>, )

SetItemKindIndex(i32, 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 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<WellItemSelectMenu_Kinds>, )

SetSelectIndexOnChangeMenu(i32, crate::app::wellitemselectmenu::WellItemSelectMenu_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 sort(self)

Sort() overload

Source

fn get_marking_item_list(self) -> List_1<UnitItem>

GetMarkingItemList() overload

Source

fn put_off_marking_items(self)

PutOffMarkingItems() 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: IWellItemSelectMenu> IWellItemSelectMenuMethods for __T

Available on crate feature app-wellitemselectmenu only.