Skip to main content

ISystemScrollMenuItemContentMethods

Trait ISystemScrollMenuItemContentMethods 

Source
pub trait ISystemScrollMenuItemContentMethods: ISystemScrollMenuItemContent {
    // Provided methods
    fn build(self, menu_item: impl Into<BasicMenuItem>) { ... }
    fn update(self) { ... }
    fn update_text_color(self) { ... }
    fn disable(self) { ... }
    fn set_help_text(self, help: impl Into<Il2CppString>, c: impl Into<Color>) { ... }
    fn set_help_active(self, b_active: impl Into<bool>, c: impl Into<Color>) { ... }
    fn set_icon(self, spot: impl Into<GmapSpot>) { ... }
    fn get_encount_icon(
        self,
        rare_type: impl Into<EncountUnitData_RareType>,
    ) -> Sprite { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn build(self, menu_item: impl Into<BasicMenuItem>)

Build(crate::app::basicmenuitem::BasicMenuItem) overload

Source

fn update(self)

Update() overload

Source

fn update_text_color(self)

UpdateTextColor() overload

Source

fn disable(self)

Disable() overload

Source

fn set_help_text(self, help: impl Into<Il2CppString>, c: impl Into<Color>)

SetHelpText(::unity::Il2CppString, crate::unity_engine::color::Color) overload

Source

fn set_help_active(self, b_active: impl Into<bool>, c: impl Into<Color>)

SetHelpActive(bool, crate::unity_engine::color::Color) overload

Source

fn set_icon(self, spot: impl Into<GmapSpot>)

SetIcon(crate::app::gmapspot::GmapSpot) overload

Source

fn get_encount_icon( self, rare_type: impl Into<EncountUnitData_RareType>, ) -> Sprite

GetEncountIcon(crate::app::encountunitdata::EncountUnitData_RareType) 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: ISystemScrollMenuItemContent> ISystemScrollMenuItemContentMethods for __T

Available on crate feature app-systemscrollmenuitemcontent only.