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

Public Member Functions

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

Static Public Member Functions

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

Member Function Documentation

◆ _canAttack()

MCAPI bool OnHitSubcomponent::_canAttack ( ::Actor * projectileOwnerActor,
::Actor * hitActor )
static
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: