Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ImpactDamageSubcomponent Class Reference
Inheritance diagram for ImpactDamageSubcomponent:

Public Types

using DifficultyRandomization

Public Member Functions

virtual void initFromDefinition (::SharedTypes::v1_26_50::ProjectileOnHitSubcomponent const &component)
virtual void writetoJSON (::Json::Value &component) const
virtual void doOnHitEffect (::Actor &owner, ::ProjectileComponent &component)
virtual char const * getName () const
MCAPI void $initFromDefinition (::SharedTypes::v1_26_50::ProjectileOnHitSubcomponent const &component)
MCAPI void $writetoJSON (::Json::Value &component) const
MCAPI void $doOnHitEffect (::Actor &owner, ::ProjectileComponent &component)
MCAPI char const * $getName () const

Static Public Member Functions

static MCAPI bool _canAttack (::Actor *projectileOwnerActor, ::Actor *hitActor)

Public Attributes

::ll::TypedStorage< 4, 8, ::FloatRange > mProjectileDamage
::ll::TypedStorage< 4, 4, ::ActorType > mFilter
::ll::TypedStorage< 1, 1, bool > mCatchFire
::ll::TypedStorage< 1, 1, bool > mSpreadFire
::ll::TypedStorage< 1, 1, bool > mChanneling
::ll::TypedStorage< 1, 1, bool > mKnockback
::ll::TypedStorage< 1, 1, ::SharedTypes::v1_26_50::ImpactDamageSubcomponentDefinition::DifficultyRandomization > mDifficultyRandomization
::ll::TypedStorage< 1, 1, bool > mCeilPreCriticalDamage
::ll::TypedStorage< 1, 1, bool > mDestroyOnHit
::ll::TypedStorage< 1, 1, bool > mRegisterLastHurtRequiresDamage
::ll::TypedStorage< 1, 1, bool > mDestroyOnHitRequiresDamage
::ll::TypedStorage< 1, 1, bool > mApplyKnockbackToBlockingTargets
::ll::TypedStorage< 4, 4, int > mMaxCriticalDamage
::ll::TypedStorage< 4, 4, int > mMinCriticalDamage
::ll::TypedStorage< 4, 4, float > mPowerMultiplier

Member Typedef Documentation

◆ DifficultyRandomization

using ImpactDamageSubcomponent::DifficultyRandomization
Initial value:
::SharedTypes::v1_26_50::ImpactDamageSubcomponentDefinition::DifficultyRandomization

Member Function Documentation

◆ initFromDefinition()

virtual void ImpactDamageSubcomponent::initFromDefinition ( ::SharedTypes::v1_26_50::ProjectileOnHitSubcomponent const & component)
virtual

Implements OnHitSubcomponent.

◆ writetoJSON()

virtual void ImpactDamageSubcomponent::writetoJSON ( ::Json::Value & component) const
virtual

Implements OnHitSubcomponent.

◆ doOnHitEffect()

virtual void ImpactDamageSubcomponent::doOnHitEffect ( ::Actor & owner,
::ProjectileComponent & component )
virtual

Implements OnHitSubcomponent.

◆ getName()

virtual char const * ImpactDamageSubcomponent::getName ( ) const
virtual

Reimplemented from OnHitSubcomponent.

◆ $initFromDefinition()

MCAPI void ImpactDamageSubcomponent::$initFromDefinition ( ::SharedTypes::v1_26_50::ProjectileOnHitSubcomponent const & component)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $writetoJSON()

MCAPI void ImpactDamageSubcomponent::$writetoJSON ( ::Json::Value & component) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $doOnHitEffect()

MCAPI void ImpactDamageSubcomponent::$doOnHitEffect ( ::Actor & owner,
::ProjectileComponent & component )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $getName()

MCAPI char const * ImpactDamageSubcomponent::$getName ( ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _canAttack()

MCAPI bool OnHitSubcomponent::_canAttack ( ::Actor * projectileOwnerActor,
::Actor * hitActor )
staticinherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this class was generated from the following file: