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§
Sourcefn set_skill(self, value: impl Into<SkillData>)
fn set_skill(self, value: impl Into<SkillData>)
set_Skill(crate::app::skilldata::SkillData) overload
Sourcefn get_sort_id(self) -> i32
fn get_sort_id(self) -> i32
get_SortId() overload
Sourcefn set_sort_id(self, value: impl Into<i32>)
fn set_sort_id(self, value: impl Into<i32>)
set_SortId(i32) overload
Sourcefn get_skill_level(self) -> i32
fn get_skill_level(self) -> i32
get_SkillLevel() overload
Sourcefn set_skill_level(self, value: impl Into<i32>)
fn set_skill_level(self, value: impl Into<i32>)
set_SkillLevel(i32) overload
Sourcefn get_skill_cost(self) -> i32
fn get_skill_cost(self) -> i32
get_SkillCost() overload
Sourcefn set_skill_cost(self, value: impl Into<i32>)
fn set_skill_cost(self, value: impl Into<i32>)
set_SkillCost(i32) overload
Sourcefn 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 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
Sourcefn build_attribute(self) -> BasicMenuItem_Attribute
fn build_attribute(self) -> BasicMenuItem_Attribute
BuildAttribute() overload
OnBuildMenuItemContent() overload
Sourcefn set_initial_color(self)
fn set_initial_color(self)
SetInitialColor() overload
Sourcefn a_call(self) -> BasicMenu_Result
fn a_call(self) -> BasicMenu_Result
ACall() overload
Sourcefn is_inherited(self) -> bool
fn is_inherited(self) -> bool
IsInherited() overload
Sourcefn is_enough_level(self) -> bool
fn is_enough_level(self) -> bool
IsEnoughLevel() overload
Sourcefn is_enough_sp(self) -> bool
fn is_enough_sp(self) -> bool
IsEnoughSp() overload
Sourcefn reset_cost(self)
fn reset_cost(self)
ResetCost() overload
Sourcefn on_inherite(self)
fn on_inherite(self)
OnInherite() 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§
impl<__T: ISkillInheritanceMenuItem> ISkillInheritanceMenuItemMethods for __T
Available on crate feature
app-skillinheritancemenuitem only.