Skip to main content

ISkillInheritanceMenuItemMethods

Trait ISkillInheritanceMenuItemMethods 

Source
pub trait ISkillInheritanceMenuItemMethods: ISkillInheritanceMenuItem {
Show 21 methods // Provided methods fn get_skill(self) -> SkillData { ... } fn set_skill(self, value: impl Into<SkillData>) { ... } fn get_sort_id(self) -> i32 { ... } fn set_sort_id(self, value: impl Into<i32>) { ... } fn get_skill_level(self) -> i32 { ... } fn set_skill_level(self, value: impl Into<i32>) { ... } fn get_skill_cost(self) -> i32 { ... } fn set_skill_cost(self, value: impl Into<i32>) { ... } fn ctor( self, sort_id: impl Into<i32>, skill: impl Into<SkillData>, skill_level: impl Into<i32>, decide_event_handler: impl Into<Action_1<Unit>>, ) { ... } fn build_attribute(self) -> BasicMenuItem_Attribute { ... } fn on_build_menu_item_content(self) { ... } fn set_initial_color(self) { ... } fn on_select(self) { ... } fn a_call(self) -> BasicMenu_Result { ... } fn is_inherited(self) -> bool { ... } fn is_enough_level(self) -> bool { ... } fn is_enough_sp(self) -> bool { ... } fn reset_cost(self) { ... } fn on_inherite(self) { ... } fn get_unit(self) -> Unit { ... } fn get_god(self) -> GodUnit { ... }
}

Provided Methods§

Source

fn get_skill(self) -> SkillData

get_Skill() overload

Source

fn set_skill(self, value: impl Into<SkillData>)

set_Skill(crate::app::skilldata::SkillData) overload

Source

fn get_sort_id(self) -> i32

get_SortId() overload

Source

fn set_sort_id(self, value: impl Into<i32>)

set_SortId(i32) overload

Source

fn get_skill_level(self) -> i32

get_SkillLevel() overload

Source

fn set_skill_level(self, value: impl Into<i32>)

set_SkillLevel(i32) overload

Source

fn get_skill_cost(self) -> i32

get_SkillCost() overload

Source

fn set_skill_cost(self, value: impl Into<i32>)

set_SkillCost(i32) overload

Source

fn ctor( self, sort_id: impl Into<i32>, skill: impl Into<SkillData>, skill_level: impl Into<i32>, decide_event_handler: impl Into<Action_1<Unit>>, )

.ctor(i32, crate::app::skilldata::SkillData, i32, crate::system::action_1::Action_1<crate::app::unit::Unit>) overload

Source

fn build_attribute(self) -> BasicMenuItem_Attribute

BuildAttribute() overload

Source

fn on_build_menu_item_content(self)

OnBuildMenuItemContent() overload

Source

fn set_initial_color(self)

SetInitialColor() overload

Source

fn on_select(self)

OnSelect() overload

Source

fn a_call(self) -> BasicMenu_Result

ACall() overload

Source

fn is_inherited(self) -> bool

IsInherited() overload

Source

fn is_enough_level(self) -> bool

IsEnoughLevel() overload

Source

fn is_enough_sp(self) -> bool

IsEnoughSp() overload

Source

fn reset_cost(self)

ResetCost() overload

Source

fn on_inherite(self)

OnInherite() overload

Source

fn get_unit(self) -> Unit

GetUnit() overload

Source

fn get_god(self) -> GodUnit

GetGod() 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: ISkillInheritanceMenuItem> ISkillInheritanceMenuItemMethods for __T

Available on crate feature app-skillinheritancemenuitem only.