Skip to main content

IMascotAccChangeContentMethods

Trait IMascotAccChangeContentMethods 

Source
pub trait IMascotAccChangeContentMethods: IMascotAccChangeContent {
    // Provided methods
    fn set_active_parts(self, type: impl Into<MascotAccData_PartsType>) { ... }
    fn set_help_text(
        self,
        mascot_data: impl Into<MascotAccData>,
        acc_data: impl Into<AccessoryData>,
    ) { ... }
    fn update_equip_text(
        self,
        text: impl Into<TextMeshProUGUI>,
        aid: impl Into<Il2CppString>,
    ) { ... }
    fn update_equip_acc(self) { ... }
    fn after_build(self) { ... }
    fn get_menu_item_content_max(self) -> i32 { ... }
    fn calc_w(self) -> f32 { ... }
    fn calc_h(self) -> f32 { ... }
    fn calc_cursor_moved_pos_y(self, menu_item_index: impl Into<i32>) -> f32 { ... }
    fn awake(self) { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn set_active_parts(self, type: impl Into<MascotAccData_PartsType>)

SetActiveParts(crate::app::mascotaccdata::MascotAccData_PartsType) overload

Source

fn set_help_text( self, mascot_data: impl Into<MascotAccData>, acc_data: impl Into<AccessoryData>, )

SetHelpText(crate::app::mascotaccdata::MascotAccData, crate::app::accessorydata::AccessoryData) overload

Source

fn update_equip_text( self, text: impl Into<TextMeshProUGUI>, aid: impl Into<Il2CppString>, )

UpdateEquipText(crate::tm_pro::textmeshprougui::TextMeshProUGUI, ::unity::Il2CppString) overload

Source

fn update_equip_acc(self)

UpdateEquipAcc() overload

Source

fn after_build(self)

AfterBuild() overload

Source

fn get_menu_item_content_max(self) -> i32

GetMenuItemContentMax() overload

Source

fn calc_w(self) -> f32

CalcW() overload

Source

fn calc_h(self) -> f32

CalcH() overload

Source

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

CalcCursorMovedPosY(i32) overload

Source

fn awake(self)

Awake() 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: IMascotAccChangeContent> IMascotAccChangeContentMethods for __T

Available on crate feature app-mascotaccchangecontent only.