Skip to main content

IUnitInfoParamSetterMethods

Trait IUnitInfoParamSetterMethods 

Source
pub trait IUnitInfoParamSetterMethods: IUnitInfoParamSetter {
    // Provided methods
    fn set_text_color(
        self,
        text: impl Into<TextMeshProUGUI>,
        dir: impl Into<i32>,
        is_limit: impl Into<bool>,
    ) { ... }
    fn set_god_buff(
        self,
        unit: impl Into<Unit>,
        image: impl Into<Image>,
        dir: impl Into<i32>,
    ) { ... }
    fn set_param_text(
        self,
        text: impl Into<TextMeshProUGUI>,
        god_buff_image: impl Into<Image>,
        type: impl Into<UnitInfoParamManager_ValueType>,
        ex_string: impl Into<Il2CppString>,
    ) { ... }
    fn set_param_text_2(
        self,
        text: impl Into<TextMeshProUGUI>,
        god_buff_image: impl Into<Image>,
        type: impl Into<CapabilityDefinition_Type>,
    ) { ... }
    fn set_item_icons(self, unit: impl Into<Unit>) { ... }
    fn set_efficacy_icons(self, unit: impl Into<Unit>) { ... }
    fn set_skill_icon(
        self,
        icon_no: impl Into<i32>,
        skill: impl Into<SkillData>,
        is_active: impl Into<bool>,
    ) { ... }
    fn set_skill_icons(self, unit: impl Into<Unit>) { ... }
    fn set_unit_core(
        self,
        unit: impl Into<Unit>,
        x: impl Into<i32>,
        z: impl Into<i32>,
        b_select_god: impl Into<bool>,
        god: impl Into<GodUnit>,
    ) { ... }
    fn set_unit(
        self,
        unit: impl Into<Unit>,
        x: impl Into<i32>,
        z: impl Into<i32>,
    ) { ... }
    fn set_unit_select_god(
        self,
        unit: impl Into<Unit>,
        x: impl Into<i32>,
        z: impl Into<i32>,
        god: impl Into<GodUnit>,
    ) { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn set_text_color( self, text: impl Into<TextMeshProUGUI>, dir: impl Into<i32>, is_limit: impl Into<bool>, )

SetTextColor(crate::tm_pro::textmeshprougui::TextMeshProUGUI, i32, bool) overload

Source

fn set_god_buff( self, unit: impl Into<Unit>, image: impl Into<Image>, dir: impl Into<i32>, )

SetGodBuff(crate::app::unit::Unit, crate::unity_engine::ui::image::Image, i32) overload

Source

fn set_param_text( self, text: impl Into<TextMeshProUGUI>, god_buff_image: impl Into<Image>, type: impl Into<UnitInfoParamManager_ValueType>, ex_string: impl Into<Il2CppString>, )

SetParamText(crate::tm_pro::textmeshprougui::TextMeshProUGUI, crate::unity_engine::ui::image::Image, crate::app::unitinfoparammanager::UnitInfoParamManager_ValueType, ::unity::Il2CppString) overload

Source

fn set_param_text_2( self, text: impl Into<TextMeshProUGUI>, god_buff_image: impl Into<Image>, type: impl Into<CapabilityDefinition_Type>, )

SetParamText(crate::tm_pro::textmeshprougui::TextMeshProUGUI, crate::unity_engine::ui::image::Image, crate::app::capabilitydefinition::CapabilityDefinition_Type) overload

Source

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

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

Source

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

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

Source

fn set_skill_icon( self, icon_no: impl Into<i32>, skill: impl Into<SkillData>, is_active: impl Into<bool>, )

SetSkillIcon(i32, crate::app::skilldata::SkillData, bool) overload

Source

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

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

Source

fn set_unit_core( self, unit: impl Into<Unit>, x: impl Into<i32>, z: impl Into<i32>, b_select_god: impl Into<bool>, god: impl Into<GodUnit>, )

SetUnit_Core(crate::app::unit::Unit, i32, i32, bool, crate::app::godunit::GodUnit) overload

Source

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

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

Source

fn set_unit_select_god( self, unit: impl Into<Unit>, x: impl Into<i32>, z: impl Into<i32>, god: impl Into<GodUnit>, )

SetUnitSelectGod(crate::app::unit::Unit, i32, i32, crate::app::godunit::GodUnit) 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: IUnitInfoParamSetter> IUnitInfoParamSetterMethods for __T

Available on crate feature app-unitinfoparamsetter only.