Skip to main content

IRefreshUnitSetMenuContentMethods

Trait IRefreshUnitSetMenuContentMethods 

Source
pub trait IRefreshUnitSetMenuContentMethods: IRefreshUnitSetMenuContent {
    // Provided methods
    fn start(self) { ... }
    fn get_refresh_unit_set_decide_menu_content(
        self,
    ) -> RefreshUnitSetDecideMenuContent { ... }
    fn calc_cursor_moved_pos_y(self, menu_item_index: impl Into<i32>) -> f32 { ... }
    fn calc_w(self) -> f32 { ... }
    fn calc_h(self) -> f32 { ... }
    fn update_facility(
        self,
        mid: impl Into<Il2CppString>,
        index: impl Into<i32>,
        facility_count: impl Into<i32>,
    ) { ... }
    fn update_content(self, unit0: impl Into<Unit>, unit1: impl Into<Unit>) { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn start(self)

Start() overload

Source

fn get_refresh_unit_set_decide_menu_content( self, ) -> RefreshUnitSetDecideMenuContent

GetRefreshUnitSetDecideMenuContent() overload

Source

fn calc_cursor_moved_pos_y(self, menu_item_index: impl Into<i32>) -> f32

CalcCursorMovedPosY(i32) overload

Source

fn calc_w(self) -> f32

CalcW() overload

Source

fn calc_h(self) -> f32

CalcH() overload

Source

fn update_facility( self, mid: impl Into<Il2CppString>, index: impl Into<i32>, facility_count: impl Into<i32>, )

UpdateFacility(::unity::Il2CppString, i32, i32) overload

Source

fn update_content(self, unit0: impl Into<Unit>, unit1: impl Into<Unit>)

UpdateContent(crate::app::unit::Unit, crate::app::unit::Unit) 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: IRefreshUnitSetMenuContent> IRefreshUnitSetMenuContentMethods for __T

Available on crate feature app-refreshunitsetmenucontent only.