Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
CombatRegenerationListener Class Reference
Inheritance diagram for CombatRegenerationListener:

Public Types

using EventType = ::ActorNotificationEvent

Public Member Functions

CombatRegenerationListener & operator= (CombatRegenerationListener const &)
 CombatRegenerationListener (CombatRegenerationListener const &)
virtual::EventResult onEvent (::ActorNotificationEvent const &event)
MCAPI CombatRegenerationListener (::ActorEventCoordinator &coordinator)
MCAPI void * $ctor (::ActorEventCoordinator &coordinator)
MCAPI::EventResult $onEvent (::ActorNotificationEvent const &event)
virtual::EventResult onActorDefinitionEvent (::Actor &actor, ::std::string const &event, ::std::vector<::ActorDefinitionModifier > &modifiers)
virtual::EventResult onActorTick (::Actor &actor)
virtual::EventResult onActorSneakChanged (::Actor &actor, bool isSneaking)
virtual::EventResult onActorStartRiding (::Actor &actor, ::Actor &vehicle)
virtual::EventResult onActorStopRiding (::Actor &actor, bool exitFromPassenger, bool actorIsBeingDestroyed, bool switchingVehicles)
virtual::EventResult onActorCreated (::Actor &actor, ::ActorInitializationMethod initializationMethod)
virtual::EventResult onActorCreationAttemptFailed (::Actor &actor, ::std::string_view message)
virtual::EventResult onActorTeleported (::Actor &actor)
virtual::EventResult onActorAttackedActor (::Actor &actor, ::Actor &target)
virtual::EventResult onActorMobInteraction (::Actor &actor, ::MinecraftEventing::InteractionType interactionType, ::ActorType interactedActorType)
virtual::EventResult onActorTargetAcquired (::Actor &actor, ::Actor &target)
virtual::EventResult onPlayerAuthInputReceived (::Player &)
virtual::EventResult onPlayerAuthInputApplied (::Player &)
virtual::EventResult onPlayerAIStepBegin (::Player &)
virtual::EventResult onPlayerAIStepEnd (::Player &)
virtual::EventResult onActorMovementRewindCorrected (::Actor &, uint64, ::ReplayCorrectionResult)
MCAPI::EventResult $onActorDefinitionEvent (::Actor &actor, ::std::string const &event, ::std::vector<::ActorDefinitionModifier > &modifiers)
MCAPI::EventResult $onActorTick (::Actor &actor)
MCAPI::EventResult $onActorSneakChanged (::Actor &actor, bool isSneaking)
MCAPI::EventResult $onActorStartRiding (::Actor &actor, ::Actor &vehicle)
MCAPI::EventResult $onActorStopRiding (::Actor &actor, bool exitFromPassenger, bool actorIsBeingDestroyed, bool switchingVehicles)
MCAPI::EventResult $onActorCreated (::Actor &actor, ::ActorInitializationMethod initializationMethod)
MCAPI::EventResult $onActorCreationAttemptFailed (::Actor &actor, ::std::string_view message)
MCAPI::EventResult $onActorTeleported (::Actor &actor)
MCAPI::EventResult $onActorAttackedActor (::Actor &actor, ::Actor &target)
MCAPI::EventResult $onActorMobInteraction (::Actor &actor, ::MinecraftEventing::InteractionType interactionType, ::ActorType interactedActorType)
MCAPI::EventResult $onActorTargetAcquired (::Actor &actor, ::Actor &target)
MCAPI::EventResult $onPlayerAuthInputReceived (::Player &)
MCAPI::EventResult $onPlayerAuthInputApplied (::Player &)
MCAPI::EventResult $onPlayerAIStepBegin (::Player &)
MCAPI::EventResult $onPlayerAIStepEnd (::Player &)
MCAPI::EventResult $onActorMovementRewindCorrected (::Actor &, uint64, ::ReplayCorrectionResult)

Public Attributes

::ll::TypedStorage< 8, 8, ::ActorEventCoordinator & > mActorEventCoordinator
::ll::TypedStorage< 8, 8, ::ActorUniqueID > mTargetActorId
::ll::TypedStorage< 8, 8, ::ActorUniqueID > mMobId
::ll::TypedStorage< 1, 1, bool > mTargetKilledByMob

Constructor & Destructor Documentation

◆ CombatRegenerationListener()

MCAPI CombatRegenerationListener::CombatRegenerationListener ( ::ActorEventCoordinator & coordinator)
explicit
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

◆ $ctor()

MCAPI void * CombatRegenerationListener::$ctor ( ::ActorEventCoordinator & coordinator)
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.

◆ $onEvent()

MCAPI::EventResult CombatRegenerationListener::$onEvent ( ::ActorNotificationEvent const & event)
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.

◆ $onActorDefinitionEvent()

MCAPI::EventResult ActorEventListener::$onActorDefinitionEvent ( ::Actor & actor,
::std::string const & event,
::std::vector<::ActorDefinitionModifier > & modifiers )
inherited
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.

◆ $onActorTick()

MCAPI::EventResult ActorEventListener::$onActorTick ( ::Actor & actor)
inherited
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.

◆ $onActorSneakChanged()

MCAPI::EventResult ActorEventListener::$onActorSneakChanged ( ::Actor & actor,
bool isSneaking )
inherited
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.

◆ $onActorStartRiding()

MCAPI::EventResult ActorEventListener::$onActorStartRiding ( ::Actor & actor,
::Actor & vehicle )
inherited
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.

◆ $onActorStopRiding()

MCAPI::EventResult ActorEventListener::$onActorStopRiding ( ::Actor & actor,
bool exitFromPassenger,
bool actorIsBeingDestroyed,
bool switchingVehicles )
inherited
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.

◆ $onActorCreated()

MCAPI::EventResult ActorEventListener::$onActorCreated ( ::Actor & actor,
::ActorInitializationMethod initializationMethod )
inherited
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.

◆ $onActorCreationAttemptFailed()

MCAPI::EventResult ActorEventListener::$onActorCreationAttemptFailed ( ::Actor & actor,
::std::string_view message )
inherited
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.

◆ $onActorTeleported()

MCAPI::EventResult ActorEventListener::$onActorTeleported ( ::Actor & actor)
inherited
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.

◆ $onActorAttackedActor()

MCAPI::EventResult ActorEventListener::$onActorAttackedActor ( ::Actor & actor,
::Actor & target )
inherited
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.

◆ $onActorMobInteraction()

MCAPI::EventResult ActorEventListener::$onActorMobInteraction ( ::Actor & actor,
::MinecraftEventing::InteractionType interactionType,
::ActorType interactedActorType )
inherited
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.

◆ $onActorTargetAcquired()

MCAPI::EventResult ActorEventListener::$onActorTargetAcquired ( ::Actor & actor,
::Actor & target )
inherited
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.

◆ $onPlayerAuthInputReceived()

MCAPI::EventResult ActorEventListener::$onPlayerAuthInputReceived ( ::Player & )
inherited
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.

◆ $onPlayerAuthInputApplied()

MCAPI::EventResult ActorEventListener::$onPlayerAuthInputApplied ( ::Player & )
inherited
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.

◆ $onPlayerAIStepBegin()

MCAPI::EventResult ActorEventListener::$onPlayerAIStepBegin ( ::Player & )
inherited
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.

◆ $onPlayerAIStepEnd()

MCAPI::EventResult ActorEventListener::$onPlayerAIStepEnd ( ::Player & )
inherited
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.

◆ $onActorMovementRewindCorrected()

MCAPI::EventResult ActorEventListener::$onActorMovementRewindCorrected ( ::Actor & ,
uint64 ,
::ReplayCorrectionResult  )
inherited
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: