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 ::std::optional<::SharedTypes::Legacy::LevelSoundEvent > _getListeningSoundEvent (::Actor &actor) const
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 bool isAngry () const
MCAPI void readAdditionalSaveData (::Actor &, ::CompoundTag const &tag, ::DataLoadHelper &)
MCAPI void tick (::Actor *owner, ::ILevel const &level)
MCAPI void tryIncreaseAngerAt (::Actor &owner, ::Actor &nuisance, int anger, bool playSounds)
MCAPI void $dtor ()

Static Public Member Functions

static MCAPI float const & DEFAULT_ANGER_DECREMENT_INTERVAL_SECONDS ()
static MCAPI int const & DEFAULT_ANGRY_BOOST ()
static MCAPI int const & DEFAULT_ANGRY_THRESHOLD ()
static MCAPI int const & DEFAULT_MAX_ANGER_LEVEL ()
static MCAPI bool const & DEFAULT_SHOULD_REMOVE_TARGET ()

Public Attributes

::ll::TypedStorage< 8, 8, ::TickmNextAngerDecrementTick
::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::NuisanceComparemNuisanceCompare
::ll::TypedStorage< 8, 24, ::std::multiset<::AngerLevelComponent::Nuisance, ::AngerLevelComponent::NuisanceCompare > > mNuisances

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