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

Public Member Functions

virtual::EventResult onEvent (::ActorHurtEvent const &actorHurtEvent)
virtual::EventResult onEvent (::PlayerDamageEvent const &playerDamageEvent)
virtual::EventResult onEvent (::PlayerOpenContainerEvent const &playerOpenContainerEvent)
virtual::EventResult onActorCreationAttemptFailed (::Actor &actor, ::std::string_view message)
virtual::EventResult onActorCreated (::Actor &actor, ::ActorInitializationMethod initializationMethod)
virtual::EventResult onBlockInteractedWith (::Player &player, ::BlockPos const &blockPos)
virtual::EventResult onBlockPlacedByPlayer (::Player &player, ::Block const &placedBlock, ::BlockPos const &pos, bool isUnderwater)
MCAPI::EventResult $onEvent (::ActorHurtEvent const &actorHurtEvent)
MCAPI::EventResult $onEvent (::PlayerDamageEvent const &playerDamageEvent)
MCAPI::EventResult $onEvent (::PlayerOpenContainerEvent const &playerOpenContainerEvent)
MCAPI::EventResult $onActorCreationAttemptFailed (::Actor &actor, ::std::string_view message)
MCAPI::EventResult $onActorCreated (::Actor &actor, ::ActorInitializationMethod initializationMethod)
MCAPI::EventResult $onBlockInteractedWith (::Player &player, ::BlockPos const &blockPos)
MCAPI::EventResult $onBlockPlacedByPlayer (::Player &player, ::Block const &placedBlock, ::BlockPos const &pos, bool isUnderwater)

Static Public Member Functions

static MCAPI void ** $vftableForEventListenerDispatcherLevelEventListener ()
static MCAPI void ** $vftableForEventListenerDispatcherActorEventListener ()
static MCAPI void ** $vftableForEventListenerDispatcherBlockEventListener ()
static MCAPI void ** $vftableForEventListenerDispatcherPlayerEventListener ()

Member Function Documentation

◆ $onEvent() [1/2]

MCAPI::EventResult VanillaServerGameplayEventListener::$onEvent ( ::ActorHurtEvent const & actorHurtEvent)
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() [2/2]

MCAPI::EventResult VanillaServerGameplayEventListener::$onEvent ( ::PlayerDamageEvent const & playerDamageEvent)
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 VanillaServerGameplayEventListener::$onActorCreationAttemptFailed ( ::Actor & actor,
::std::string_view message )
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 VanillaServerGameplayEventListener::$onActorCreated ( ::Actor & actor,
::ActorInitializationMethod initializationMethod )
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.

◆ $onBlockInteractedWith()

MCAPI::EventResult VanillaServerGameplayEventListener::$onBlockInteractedWith ( ::Player & player,
::BlockPos const & blockPos )
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.

◆ $onBlockPlacedByPlayer()

MCAPI::EventResult VanillaServerGameplayEventListener::$onBlockPlacedByPlayer ( ::Player & player,
::Block const & placedBlock,
::BlockPos const & pos,
bool isUnderwater )
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.

◆ $vftableForEventListenerDispatcherLevelEventListener()

MCAPI void ** VanillaServerGameplayEventListener::$vftableForEventListenerDispatcherLevelEventListener ( )
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.

◆ $vftableForEventListenerDispatcherActorEventListener()

MCAPI void ** VanillaServerGameplayEventListener::$vftableForEventListenerDispatcherActorEventListener ( )
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.

◆ $vftableForEventListenerDispatcherBlockEventListener()

MCAPI void ** VanillaServerGameplayEventListener::$vftableForEventListenerDispatcherBlockEventListener ( )
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.

◆ $vftableForEventListenerDispatcherPlayerEventListener()

MCAPI void ** VanillaServerGameplayEventListener::$vftableForEventListenerDispatcherPlayerEventListener ( )
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.

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