LeviLamina
Loading...
Searching...
No Matches
DamageSensorComponent Class Reference

Public Member Functions

DamageSensorComponentoperator= (DamageSensorComponent const &)
 
 DamageSensorComponent (DamageSensorComponent const &)
 
MCAPI::DamageSensorTrigger const * _getVerifiedDamageSensorTrigger (::Actor &owner, ::SharedTypes::Legacy::ActorDamageCause const &cause, ::VariantParameterList const &parameters) const
 
MCAPI::SharedTypes::Legacy::DealsDamage _recordDamageAndCheckIfDealt (::Actor &owner, ::Actor *sender, ::SharedTypes::Legacy::ActorDamageCause const &cause, ::Actor *damager, float amount, float preDamageHealth, ::VariantParameterList parameters, bool willTrigger)
 
MCAPI float getAdjustedDamage (::Actor &owner, ::ActorDamageSource const &source, float amount) const
 
MCAPI::DamageSensorComponent & operator= (::DamageSensorComponent &&)
 
MCAPI::SharedTypes::Legacy::DealsDamage recordBlockDamageAndCheckIfDealt (::Actor &owner, ::SharedTypes::Legacy::ActorDamageCause cause, float amount, ::BlockPos standingOnPos)
 
MCAPI::SharedTypes::Legacy::DealsDamage recordGenericDamageAndCheckIfDealt (::Actor &owner, ::ActorDamageSource const &source, float amount, float preDamageHealth, ::VariantParameterList parameters, bool willTrigger)
 

Public Attributes

::ll::TypedStorage< 4, 4, int > mDamageAmount
 
::ll::TypedStorage< 1, 1, bool > mDamageIsFatal
 
::ll::TypedStorage< 4, 4, int > mDamageCause
 
::ll::TypedStorage< 8, 24, ::std::vector<::DamageSensorTrigger > > mTriggers
 

Member Function Documentation

◆ _getVerifiedDamageSensorTrigger()

MCAPI::DamageSensorTrigger const * DamageSensorComponent::_getVerifiedDamageSensorTrigger ( ::Actor & owner,
::SharedTypes::Legacy::ActorDamageCause const & cause,
::VariantParameterList const & parameters ) 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.

◆ _recordDamageAndCheckIfDealt()

MCAPI::SharedTypes::Legacy::DealsDamage DamageSensorComponent::_recordDamageAndCheckIfDealt ( ::Actor & owner,
::Actor * sender,
::SharedTypes::Legacy::ActorDamageCause const & cause,
::Actor * damager,
float amount,
float preDamageHealth,
::VariantParameterList parameters,
bool willTrigger )
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.

◆ getAdjustedDamage()

MCAPI float DamageSensorComponent::getAdjustedDamage ( ::Actor & owner,
::ActorDamageSource const & source,
float amount ) 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.

◆ operator=()

MCAPI::DamageSensorComponent & DamageSensorComponent::operator= ( ::DamageSensorComponent && )
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.

◆ recordBlockDamageAndCheckIfDealt()

MCAPI::SharedTypes::Legacy::DealsDamage DamageSensorComponent::recordBlockDamageAndCheckIfDealt ( ::Actor & owner,
::SharedTypes::Legacy::ActorDamageCause cause,
float amount,
::BlockPos standingOnPos )
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.

◆ recordGenericDamageAndCheckIfDealt()

MCAPI::SharedTypes::Legacy::DealsDamage DamageSensorComponent::recordGenericDamageAndCheckIfDealt ( ::Actor & owner,
::ActorDamageSource const & source,
float amount,
float preDamageHealth,
::VariantParameterList parameters,
bool willTrigger )
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: