pub trait ICharacterEffectMethods: ICharacterEffect {
// Provided methods
fn ctor(self, chr: impl Into<Character>) { ... }
fn create(
self,
prefab: impl Into<GameObject>,
parent: impl Into<Transform>,
) -> GameObject { ... }
fn create_hit(
self,
slash_type: impl Into<SlashType>,
effect_level: impl Into<i32>,
) -> TR { ... }
fn create_pairing_hit(self, prefab: impl Into<GameObject>) -> TR { ... }
fn get_hit_effect_name(
self,
slash_type: impl Into<SlashType>,
level: impl Into<i32>,
) -> Il2CppString { ... }
fn create_guard(self) { ... }
fn create_parry(self) { ... }
fn create_efficacy_hit(self) { ... }
fn create_break(self) { ... }
fn create_smash(self) { ... }
}Provided Methods§
Sourcefn create(
self,
prefab: impl Into<GameObject>,
parent: impl Into<Transform>,
) -> GameObject
fn create( self, prefab: impl Into<GameObject>, parent: impl Into<Transform>, ) -> GameObject
Create(crate::unity_engine::gameobject::GameObject, crate::unity_engine::transform::Transform) overload
Sourcefn create_hit(
self,
slash_type: impl Into<SlashType>,
effect_level: impl Into<i32>,
) -> TR
fn create_hit( self, slash_type: impl Into<SlashType>, effect_level: impl Into<i32>, ) -> TR
CreateHit(*mutcrate::combat::tr::TR, crate::combat::slashtype::SlashType, i32) overload
Sourcefn create_pairing_hit(self, prefab: impl Into<GameObject>) -> TR
fn create_pairing_hit(self, prefab: impl Into<GameObject>) -> TR
CreatePairingHit(crate::unity_engine::gameobject::GameObject, *mutcrate::combat::tr::TR) overload
Sourcefn get_hit_effect_name(
self,
slash_type: impl Into<SlashType>,
level: impl Into<i32>,
) -> Il2CppString
fn get_hit_effect_name( self, slash_type: impl Into<SlashType>, level: impl Into<i32>, ) -> Il2CppString
GetHitEffectName(crate::combat::slashtype::SlashType, i32) overload
Sourcefn create_guard(self)
fn create_guard(self)
CreateGuard() overload
Sourcefn create_parry(self)
fn create_parry(self)
CreateParry() overload
Sourcefn create_efficacy_hit(self)
fn create_efficacy_hit(self)
CreateEfficacyHit() overload
Sourcefn create_break(self)
fn create_break(self)
CreateBreak() overload
Sourcefn create_smash(self)
fn create_smash(self)
CreateSmash() 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: ICharacterEffect> ICharacterEffectMethods for __T
Available on crate feature
combat-charactereffect only.