Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
AngerLevelComponent Class Reference

Classes

struct  ConditionalSound
struct  Nuisance
struct  NuisanceCompare

Public Types

using ActorNuisance = ::std::pair<::Actor*, int>

Public Member Functions

MCAPI void _decrementAnger (::Actor *owner, ::ILevel const &level)
MCAPI void addAdditionalSaveData (::CompoundTag &tag) const
MCAPI bool belowAngryThreshold (::ActorUniqueID id) const
MCAPI bool canBeNuisance (::Actor *owner, ::Actor *target) const
MCAPI int getAngerForAnimations (::Actor &owner) const
MCAPI ::std::optional<::std::pair<::Actor *, int > > getTopActiveNuisance (::Actor *owner, ::ILevel const &level) const
MCAPI void readAdditionalSaveData (::Actor &, ::CompoundTag const &tag, ::DataLoadHelper &)
MCAPI void tryIncreaseAngerAt (::Actor &owner, ::Actor &nuisance, int anger, bool playSounds)
MCAPI ~AngerLevelComponent ()
MCAPI void $dtor ()

Public Attributes

::ll::TypedStorage< 8, 8, ::Tick > mNextAngerDecrementTick
::ll::TypedStorage< 4, 4, int > mDefaultAnnoyingness
::ll::TypedStorage< 4, 4, int > mDefaultProjectileAnnoyingness
::ll::TypedStorage< 4, 4, int > mAngerDecrementIntervalTicks
::ll::TypedStorage< 4, 4, int > mMaxAngerLevel
::ll::TypedStorage< 4, 4, int > mAngryThreshold
::ll::TypedStorage< 1, 1, bool > mRemoveTargetWhenBelowAngryThreshold
::ll::TypedStorage< 4, 4, int > mAngryBoost
::ll::TypedStorage< 4, 4, int > mTopAnger
::ll::TypedStorage< 8, 72, ::std::optional<::ActorFilterGroup > > mNuisanceFilter
::ll::TypedStorage< 8, 24, ::std::vector<::AngerLevelComponent::ConditionalSound > > mOnIncreaseSoundDefinitions
::ll::TypedStorage< 4, 4, ::AngerLevelComponent::NuisanceCompare > mNuisanceCompare
::ll::TypedStorage< 8, 24, ::std::multiset<::AngerLevelComponent::Nuisance, ::AngerLevelComponent::NuisanceCompare > > mNuisances

Constructor & Destructor Documentation

◆ ~AngerLevelComponent()

MCAPI AngerLevelComponent::~AngerLevelComponent ( )
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.

Member Function Documentation

◆ _decrementAnger()

MCAPI void AngerLevelComponent::_decrementAnger ( ::Actor * owner,
::ILevel const & level )
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.

◆ addAdditionalSaveData()

MCAPI void AngerLevelComponent::addAdditionalSaveData ( ::CompoundTag & tag) 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.

◆ belowAngryThreshold()

MCAPI bool AngerLevelComponent::belowAngryThreshold ( ::ActorUniqueID id) 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.

◆ canBeNuisance()

MCAPI bool AngerLevelComponent::canBeNuisance ( ::Actor * owner,
::Actor * target ) 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.

◆ getAngerForAnimations()

MCAPI int AngerLevelComponent::getAngerForAnimations ( ::Actor & owner) 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.

◆ getTopActiveNuisance()

MCAPI ::std::optional<::std::pair<::Actor *, int > > AngerLevelComponent::getTopActiveNuisance ( ::Actor * owner,
::ILevel const & level ) 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.

◆ readAdditionalSaveData()

MCAPI void AngerLevelComponent::readAdditionalSaveData ( ::Actor & ,
::CompoundTag const & tag,
::DataLoadHelper &  )
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.

◆ tryIncreaseAngerAt()

MCAPI void AngerLevelComponent::tryIncreaseAngerAt ( ::Actor & owner,
::Actor & nuisance,
int anger,
bool playSounds )
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.

◆ $dtor()

MCAPI void AngerLevelComponent::$dtor ( )
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: