Skip to main content

IDebugMenuMethods

Trait IDebugMenuMethods 

Source
pub trait IDebugMenuMethods: IDebugMenu {
Show 89 methods // Provided methods fn on_create(self) { ... } fn on_dispose(self) { ... } fn on_open(self) { ... } fn on_close(self) { ... } fn on_rebuild(self) { ... } fn on_select(self) { ... } fn tick_item(self, item: impl Into<MenuItem>) -> MenuItem_Result { ... } fn is_selectable(self, index: impl Into<i32>) -> bool { ... } fn is_selectable_2(self, item: impl Into<MenuItem>) -> bool { ... } fn is_visible(self, item: impl Into<MenuItem>) -> bool { ... } fn is_relay(self) -> bool { ... } fn move_to_prev(self, step: impl Into<i32>, is_trigger: impl Into<bool>) { ... } fn move_to_next(self, step: impl Into<i32>, is_trigger: impl Into<bool>) { ... } fn get_width(self) -> f32 { ... } fn get_height(self) -> f32 { ... } fn get_page(self) -> i32 { ... } fn move_tick(self) { ... } fn init(self) { ... } fn b_call(self) -> MenuItem_Result { ... } fn x_call(self) -> MenuItem_Result { ... } fn on_tick(self) { ... } fn get_item_blank(self, index: impl Into<i32>, dir: impl Into<i32>) -> f32 { ... } fn get_orient_target(self) -> f32 { ... } fn update_select(self) { ... } fn add_item(self, item: impl Into<MenuItem>) -> DebugMenu { ... } fn add_item_2(self, items: impl Into<List_1<MenuItem>>) -> DebugMenu { ... } fn add_string(self, name: impl Into<Il2CppString>) -> DebugMenu { ... } fn add_string_2( self, name: impl Into<Il2CppString>, english: impl Into<Il2CppString>, ) -> DebugMenu { ... } fn add_string_format( self, format: impl Into<Il2CppString>, args: impl Into<Array<Object>>, ) -> DebugMenu { ... } fn add_disable(self, name: impl Into<Il2CppString>) -> DebugMenu { ... } fn add_func( self, name: impl Into<Il2CppString>, func: impl Into<FuncItem_Func>, ) -> DebugMenu { ... } fn add_property( self, obj: impl Into<Object>, info: impl Into<FieldInfo>, ) -> DebugMenu { ... } fn add_property_2( self, obj: impl Into<Object>, info: impl Into<PropertyInfo>, ) -> DebugMenu { ... } fn add_property_3( self, obj: impl Into<Object>, name: impl Into<Il2CppString>, flags: impl Into<BindingFlags>, ) -> DebugMenu { ... } fn add_property_4( self, obj: impl Into<Object>, flags: impl Into<BindingFlags>, ) -> DebugMenu { ... } fn add_label(self, name: impl Into<Il2CppString>) -> DebugMenu { ... } fn add_label_2( self, name: impl Into<Il2CppString>, english: impl Into<Il2CppString>, ) -> DebugMenu { ... } fn add_label_format( self, format: impl Into<Il2CppString>, args: impl Into<Array<Object>>, ) -> DebugMenu { ... } fn add_separator(self) -> DebugMenu { ... } fn add_group_begin( self, name: impl Into<Il2CppString>, state: impl Into<MenuItem_State>, ) -> DebugMenu { ... } fn add_group_end(self) -> DebugMenu { ... } fn clear_item(self) -> DebugMenu { ... } fn set_pos(self, x: impl Into<f32>, y: impl Into<f32>) -> DebugMenu { ... } fn set_pos_2(self, pos: impl Into<Vector2>) -> DebugMenu { ... } fn set_size(self, w: impl Into<f32>, h: impl Into<f32>) -> DebugMenu { ... } fn set_size_2(self, size: impl Into<Vector2>) -> DebugMenu { ... } fn set_width(self, w: impl Into<f32>) -> DebugMenu { ... } fn set_height(self, h: impl Into<f32>) -> DebugMenu { ... } fn set_rect( self, x: impl Into<f32>, y: impl Into<f32>, w: impl Into<f32>, h: impl Into<f32>, ) -> DebugMenu { ... } fn set_colot(self, color: impl Into<Color>) -> DebugMenu { ... } fn move(self, x: impl Into<f32>, y: impl Into<f32>) -> DebugMenu { ... } fn set_move_page(self, enable: impl Into<bool>) -> DebugMenu { ... } fn set_map_cursor(self, enable: impl Into<bool>) -> DebugMenu { ... } fn reset_size(self) { ... } fn calc_width(self) -> DebugMenu { ... } fn calc_height(self) -> DebugMenu { ... } fn calc_row(self, row: impl Into<i32>) -> DebugMenu { ... } fn set_select(self, index: impl Into<i32>) -> DebugMenu { ... } fn set_depth(self, depth: impl Into<i32>) -> DebugMenu { ... } fn set_ancher(self, anchor: impl Into<GX_Anchor>) -> DebugMenu { ... } fn set_ancher_pos( self, anchor: impl Into<GX_Anchor>, offset: impl Into<f32>, ) -> DebugMenu { ... } fn set_relay(self, enable: impl Into<bool>) -> DebugMenu { ... } fn set_debug_time(self, time_scale: impl Into<f32>) { ... } fn get_rect(self) -> Rect { ... } fn get_orient(self) -> f32 { ... } fn get_color(self) -> Color { ... } fn get_depth(self) -> i32 { ... } fn get_select(self) -> i32 { ... } fn get_pos(self) -> Vector2 { ... } fn get_size(self) -> Vector2 { ... } fn get_anchor(self) -> GX_Anchor { ... } fn get_indent_offset(self, indent: impl Into<i32>) -> f32 { ... } fn calc_indent( self, indent: impl Into<i32>, item: impl Into<MenuItem>, ) -> i32 { ... } fn read_record(self) { ... } fn write_record(self) { ... } fn set_record(self, key: impl Into<Il2CppString>) -> DebugMenu { ... } fn build_hierarchy(self) -> DebugMenu { ... } fn get_text_width(self, text: impl Into<Il2CppString>) -> f32 { ... } fn get_text_height(self, text: impl Into<Il2CppString>) -> f32 { ... } fn set_bind_mode(self, mode: impl Into<DebugMenu_BindMode>) -> DebugMenu { ... } fn get_bind_mode(self) -> DebugMenu_BindMode { ... } fn get_current_bind_mode(self) -> DebugMenu_BindMode { ... } fn get_base_color(self) -> Color { ... } fn get_item(self, i: impl Into<i32>) -> MenuItem { ... } fn get_items(self) -> List_1<MenuItem> { ... } fn get_item_count(self) -> i32 { ... } fn get_select_tick(self) -> i32 { ... } fn get_select_time(self) -> f32 { ... } fn ctor(self) { ... }
}

Provided Methods§

Source

fn on_create(self)

OnCreate() overload

Source

fn on_dispose(self)

OnDispose() overload

Source

fn on_open(self)

OnOpen() overload

Source

fn on_close(self)

OnClose() overload

Source

fn on_rebuild(self)

OnRebuild() overload

Source

fn on_select(self)

OnSelect() overload

Source

fn tick_item(self, item: impl Into<MenuItem>) -> MenuItem_Result

TickItem(crate::app::menuitem::MenuItem) overload

Source

fn is_selectable(self, index: impl Into<i32>) -> bool

IsSelectable(i32) overload

Source

fn is_selectable_2(self, item: impl Into<MenuItem>) -> bool

IsSelectable(crate::app::menuitem::MenuItem) overload

Source

fn is_visible(self, item: impl Into<MenuItem>) -> bool

IsVisible(crate::app::menuitem::MenuItem) overload

Source

fn is_relay(self) -> bool

IsRelay() overload

Source

fn move_to_prev(self, step: impl Into<i32>, is_trigger: impl Into<bool>)

MoveToPrev(i32, bool) overload

Source

fn move_to_next(self, step: impl Into<i32>, is_trigger: impl Into<bool>)

MoveToNext(i32, bool) overload

Source

fn get_width(self) -> f32

GetWidth() overload

Source

fn get_height(self) -> f32

GetHeight() overload

Source

fn get_page(self) -> i32

GetPage() overload

Source

fn move_tick(self)

MoveTick() overload

Source

fn init(self)

Init() overload

Source

fn b_call(self) -> MenuItem_Result

BCall() overload

Source

fn x_call(self) -> MenuItem_Result

XCall() overload

Source

fn on_tick(self)

OnTick() overload

Source

fn get_item_blank(self, index: impl Into<i32>, dir: impl Into<i32>) -> f32

GetItemBlank(i32, i32) overload

Source

fn get_orient_target(self) -> f32

GetOrientTarget() overload

Source

fn update_select(self)

UpdateSelect() overload

Source

fn add_item(self, item: impl Into<MenuItem>) -> DebugMenu

AddItem(crate::app::menuitem::MenuItem) overload

Source

fn add_item_2(self, items: impl Into<List_1<MenuItem>>) -> DebugMenu

AddItem(crate::system::collections::generic::list_1::List_1<crate::app::menuitem::MenuItem>) overload

Source

fn add_string(self, name: impl Into<Il2CppString>) -> DebugMenu

AddString(::unity::Il2CppString) overload

Source

fn add_string_2( self, name: impl Into<Il2CppString>, english: impl Into<Il2CppString>, ) -> DebugMenu

AddString(::unity::Il2CppString, ::unity::Il2CppString) overload

Source

fn add_string_format( self, format: impl Into<Il2CppString>, args: impl Into<Array<Object>>, ) -> DebugMenu

AddStringFormat(::unity::Il2CppString, ::unity::Array<crate::system::object::Object>) overload

Source

fn add_disable(self, name: impl Into<Il2CppString>) -> DebugMenu

AddDisable(::unity::Il2CppString) overload

Source

fn add_func( self, name: impl Into<Il2CppString>, func: impl Into<FuncItem_Func>, ) -> DebugMenu

AddFunc(::unity::Il2CppString, crate::app::funcitem::FuncItem_Func) overload

Source

fn add_property( self, obj: impl Into<Object>, info: impl Into<FieldInfo>, ) -> DebugMenu

AddProperty(crate::system::object::Object, crate::system::reflection::fieldinfo::FieldInfo) overload

Source

fn add_property_2( self, obj: impl Into<Object>, info: impl Into<PropertyInfo>, ) -> DebugMenu

AddProperty(crate::system::object::Object, crate::system::reflection::propertyinfo::PropertyInfo) overload

Source

fn add_property_3( self, obj: impl Into<Object>, name: impl Into<Il2CppString>, flags: impl Into<BindingFlags>, ) -> DebugMenu

AddProperty(crate::system::object::Object, ::unity::Il2CppString, crate::system::reflection::bindingflags::BindingFlags) overload

Source

fn add_property_4( self, obj: impl Into<Object>, flags: impl Into<BindingFlags>, ) -> DebugMenu

AddProperty(crate::system::object::Object, crate::system::reflection::bindingflags::BindingFlags) overload

Source

fn add_label(self, name: impl Into<Il2CppString>) -> DebugMenu

AddLabel(::unity::Il2CppString) overload

Source

fn add_label_2( self, name: impl Into<Il2CppString>, english: impl Into<Il2CppString>, ) -> DebugMenu

AddLabel(::unity::Il2CppString, ::unity::Il2CppString) overload

Source

fn add_label_format( self, format: impl Into<Il2CppString>, args: impl Into<Array<Object>>, ) -> DebugMenu

AddLabelFormat(::unity::Il2CppString, ::unity::Array<crate::system::object::Object>) overload

Source

fn add_separator(self) -> DebugMenu

AddSeparator() overload

Source

fn add_group_begin( self, name: impl Into<Il2CppString>, state: impl Into<MenuItem_State>, ) -> DebugMenu

AddGroupBegin(::unity::Il2CppString, crate::app::menuitem::MenuItem_State) overload

Source

fn add_group_end(self) -> DebugMenu

AddGroupEnd() overload

Source

fn clear_item(self) -> DebugMenu

ClearItem() overload

Source

fn set_pos(self, x: impl Into<f32>, y: impl Into<f32>) -> DebugMenu

SetPos(f32, f32) overload

Source

fn set_pos_2(self, pos: impl Into<Vector2>) -> DebugMenu

SetPos(crate::unity_engine::vector2::Vector2) overload

Source

fn set_size(self, w: impl Into<f32>, h: impl Into<f32>) -> DebugMenu

SetSize(f32, f32) overload

Source

fn set_size_2(self, size: impl Into<Vector2>) -> DebugMenu

SetSize(crate::unity_engine::vector2::Vector2) overload

Source

fn set_width(self, w: impl Into<f32>) -> DebugMenu

SetWidth(f32) overload

Source

fn set_height(self, h: impl Into<f32>) -> DebugMenu

SetHeight(f32) overload

Source

fn set_rect( self, x: impl Into<f32>, y: impl Into<f32>, w: impl Into<f32>, h: impl Into<f32>, ) -> DebugMenu

SetRect(f32, f32, f32, f32) overload

Source

fn set_colot(self, color: impl Into<Color>) -> DebugMenu

SetColot(crate::unity_engine::color::Color) overload

Source

fn move(self, x: impl Into<f32>, y: impl Into<f32>) -> DebugMenu

Move(f32, f32) overload

Source

fn set_move_page(self, enable: impl Into<bool>) -> DebugMenu

SetMovePage(bool) overload

Source

fn set_map_cursor(self, enable: impl Into<bool>) -> DebugMenu

SetMapCursor(bool) overload

Source

fn reset_size(self)

ResetSize() overload

Source

fn calc_width(self) -> DebugMenu

CalcWidth() overload

Source

fn calc_height(self) -> DebugMenu

CalcHeight() overload

Source

fn calc_row(self, row: impl Into<i32>) -> DebugMenu

CalcRow(i32) overload

Source

fn set_select(self, index: impl Into<i32>) -> DebugMenu

SetSelect(i32) overload

Source

fn set_depth(self, depth: impl Into<i32>) -> DebugMenu

SetDepth(i32) overload

Source

fn set_ancher(self, anchor: impl Into<GX_Anchor>) -> DebugMenu

SetAncher(crate::app::gx::GX_Anchor) overload

Source

fn set_ancher_pos( self, anchor: impl Into<GX_Anchor>, offset: impl Into<f32>, ) -> DebugMenu

SetAncherPos(crate::app::gx::GX_Anchor, f32) overload

Source

fn set_relay(self, enable: impl Into<bool>) -> DebugMenu

SetRelay(bool) overload

Source

fn set_debug_time(self, time_scale: impl Into<f32>)

SetDebugTime(f32) overload

Source

fn get_rect(self) -> Rect

GetRect() overload

Source

fn get_orient(self) -> f32

GetOrient() overload

Source

fn get_color(self) -> Color

GetColor() overload

Source

fn get_depth(self) -> i32

GetDepth() overload

Source

fn get_select(self) -> i32

GetSelect() overload

Source

fn get_pos(self) -> Vector2

GetPos() overload

Source

fn get_size(self) -> Vector2

GetSize() overload

Source

fn get_anchor(self) -> GX_Anchor

GetAnchor() overload

Source

fn get_indent_offset(self, indent: impl Into<i32>) -> f32

GetIndentOffset(i32) overload

Source

fn calc_indent(self, indent: impl Into<i32>, item: impl Into<MenuItem>) -> i32

CalcIndent(i32, crate::app::menuitem::MenuItem) overload

Source

fn read_record(self)

ReadRecord() overload

Source

fn write_record(self)

WriteRecord() overload

Source

fn set_record(self, key: impl Into<Il2CppString>) -> DebugMenu

SetRecord(::unity::Il2CppString) overload

Source

fn build_hierarchy(self) -> DebugMenu

BuildHierarchy() overload

Source

fn get_text_width(self, text: impl Into<Il2CppString>) -> f32

GetTextWidth(::unity::Il2CppString) overload

Source

fn get_text_height(self, text: impl Into<Il2CppString>) -> f32

GetTextHeight(::unity::Il2CppString) overload

Source

fn set_bind_mode(self, mode: impl Into<DebugMenu_BindMode>) -> DebugMenu

SetBindMode(crate::app::debugmenu::DebugMenu_BindMode) overload

Source

fn get_bind_mode(self) -> DebugMenu_BindMode

GetBindMode() overload

Source

fn get_current_bind_mode(self) -> DebugMenu_BindMode

GetCurrentBindMode() overload

Source

fn get_base_color(self) -> Color

GetBaseColor() overload

Source

fn get_item(self, i: impl Into<i32>) -> MenuItem

GetItem(i32) overload

Source

fn get_items(self) -> List_1<MenuItem>

GetItems() overload

Source

fn get_item_count(self) -> i32

GetItemCount() overload

Source

fn get_select_tick(self) -> i32

GetSelectTick() overload

Source

fn get_select_time(self) -> f32

GetSelectTime() overload

Source

fn ctor(self)

.ctor() 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: IDebugMenu> IDebugMenuMethods for __T

Available on crate feature app-debugmenu only.