Skip to main content

IRefreshUnitSetMenuItemMethods

Trait IRefreshUnitSetMenuItemMethods 

Source
pub trait IRefreshUnitSetMenuItemMethods: IRefreshUnitSetMenuItem {
    // Provided methods
    fn ctor(
        self,
        unit: impl Into<Unit>,
        decide_event_handler: impl Into<RefreshUnitSetMenu_DecideEventHandler>,
    ) { ... }
    fn on_build(self) { ... }
    fn on_build_menu_item_content(self) { ... }
    fn set_initial_color(self) { ... }
    fn get_name(self) -> Il2CppString { ... }
    fn set_unit(self, unit: impl Into<Unit>) { ... }
    fn update_fixed_cursor(self) { ... }
    fn set_decided(self, decided: impl Into<bool>) { ... }
    fn a_call(self) -> BasicMenu_Result { ... }
}

Provided Methods§

Source

fn ctor( self, unit: impl Into<Unit>, decide_event_handler: impl Into<RefreshUnitSetMenu_DecideEventHandler>, )

.ctor(crate::app::unit::Unit, crate::app::refreshunitsetmenu::RefreshUnitSetMenu_DecideEventHandler) overload

Source

fn on_build(self)

OnBuild() overload

Source

fn on_build_menu_item_content(self)

OnBuildMenuItemContent() overload

Source

fn set_initial_color(self)

SetInitialColor() overload

Source

fn get_name(self) -> Il2CppString

GetName() overload

Source

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

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

Source

fn update_fixed_cursor(self)

UpdateFixedCursor() overload

Source

fn set_decided(self, decided: impl Into<bool>)

SetDecided(bool) overload

Source

fn a_call(self) -> BasicMenu_Result

ACall() 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: IRefreshUnitSetMenuItem> IRefreshUnitSetMenuItemMethods for __T

Available on crate feature app-refreshunitsetmenuitem only.