Skip to main content

IGridMenuMethods

Trait IGridMenuMethods 

Source
pub trait IGridMenuMethods: IGridMenu {
Show 20 methods // Provided methods fn ctor( self, menu_item_list: impl Into<List_1<BasicMenuItem>>, menu_content: impl Into<GridMenuContent>, ) { ... } fn get_name(self) -> Il2CppString { ... } fn get_show_row_max(self) -> i32 { ... } fn get_build_row_num(self) -> i32 { ... } fn set_select_index(self, index: impl Into<i32>) { ... } fn rebuild_instant( self, menu_select: impl Into<BasicMenuSelect>, display_index: impl Into<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 adjust_scroll_index(self) { ... } fn set_cell_size(self, w: impl Into<f32>, h: impl Into<f32>) { ... } fn set_cell_w(self, w: impl Into<f32>) { ... } fn set_cell_h(self, h: impl Into<f32>) { ... } fn get_cell_size(self) -> Vector2 { ... } fn get_cell_w(self) -> f32 { ... } fn get_cell_h(self) -> f32 { ... } fn set_column_count(self, count: impl Into<i32>) { ... } fn get_column_count(self) -> i32 { ... } fn get_grid_menu_content(self) -> GridMenuContent { ... }
}

Provided Methods§

Source

fn ctor( self, menu_item_list: impl Into<List_1<BasicMenuItem>>, menu_content: impl Into<GridMenuContent>, )

.ctor(crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>, crate::app::gridmenucontent::GridMenuContent) 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 set_select_index(self, index: impl Into<i32>)

SetSelectIndex(i32) overload

Source

fn rebuild_instant( self, menu_select: impl Into<BasicMenuSelect>, display_index: impl Into<i32>, )

RebuildInstant(crate::app::basicmenuselect::BasicMenuSelect, 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 adjust_scroll_index(self)

AdjustScrollIndex() overload

Source

fn set_cell_size(self, w: impl Into<f32>, h: impl Into<f32>)

SetCellSize(f32, f32) overload

Source

fn set_cell_w(self, w: impl Into<f32>)

SetCellW(f32) overload

Source

fn set_cell_h(self, h: impl Into<f32>)

SetCellH(f32) overload

Source

fn get_cell_size(self) -> Vector2

GetCellSize() overload

Source

fn get_cell_w(self) -> f32

GetCellW() overload

Source

fn get_cell_h(self) -> f32

GetCellH() overload

Source

fn set_column_count(self, count: impl Into<i32>)

SetColumnCount(i32) overload

Source

fn get_column_count(self) -> i32

GetColumnCount() overload

Source

fn get_grid_menu_content(self) -> GridMenuContent

GetGridMenuContent() 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: IGridMenu> IGridMenuMethods for __T

Available on crate feature app-gridmenu only.