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

AngerLevelComponentoperator= (AngerLevelComponent const &)
 AngerLevelComponent (AngerLevelComponent const &)
MCAPI AngerLevelComponent (::AngerLevelComponent &&)
MCAPI void _createOrModifyAngerLevel (::Actor const &nuisanceSource, ::std::function< int(int)> const &modifyingFn)
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 ::std::optional<::std::pair<::Actor *, int > > getTopActiveNuisance (::Actor *owner, ::ILevel const &level) const
MCAPI::AngerLevelComponent & operator= (::AngerLevelComponent &&)
MCAPI void tick (::Actor *owner, ::ILevel const &level)
MCAPI void tryIncreaseAngerAt (::Actor &owner, ::Actor &nuisance, int anger, bool playSounds)
MCAPI void * $ctor (::AngerLevelComponent &&)
MCAPI void $dtor ()

Static Public Member Functions

static MCAPI int const & DEFAULT_ANGRY_BOOST ()
static MCAPI int const & DEFAULT_ANGRY_THRESHOLD ()
static MCAPI int const & DEFAULT_MAX_ANGER_LEVEL ()

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: