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 &)
 
MCAPI AngerLevelComponent (::AngerLevelComponent &&)
 
MCAPI AngerLevelComponent (::AngerLevelComponent const &)
 
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 ~AngerLevelComponent ()
 
MCAPI void * $ctor (::AngerLevelComponent &&)
 
MCAPI void * $ctor (::AngerLevelComponent const &)
 
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
 

Constructor & Destructor Documentation

◆ AngerLevelComponent() [1/2]

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

◆ AngerLevelComponent() [2/2]

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

◆ ~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

◆ _createOrModifyAngerLevel()

MCAPI void AngerLevelComponent::_createOrModifyAngerLevel ( ::Actor const & nuisanceSource,
::std::function< int(int)> const & modifyingFn )
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.

◆ _getListeningSoundEvent()

MCAPI ::std::optional<::SharedTypes::Legacy::LevelSoundEvent > AngerLevelComponent::_getListeningSoundEvent ( ::Actor & actor) 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.

◆ 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.

◆ 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.

◆ operator=()

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

◆ tick()

MCAPI void AngerLevelComponent::tick ( ::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.

◆ 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.

◆ DEFAULT_ANGRY_BOOST()

static MCAPI int const & AngerLevelComponent::DEFAULT_ANGRY_BOOST ( )
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.

◆ DEFAULT_ANGRY_THRESHOLD()

static MCAPI int const & AngerLevelComponent::DEFAULT_ANGRY_THRESHOLD ( )
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.

◆ DEFAULT_MAX_ANGER_LEVEL()

static MCAPI int const & AngerLevelComponent::DEFAULT_MAX_ANGER_LEVEL ( )
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.

◆ $ctor() [1/2]

MCAPI void * AngerLevelComponent::$ctor ( ::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.

◆ $ctor() [2/2]

MCAPI void * AngerLevelComponent::$ctor ( ::AngerLevelComponent 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.

◆ $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: