LeviLamina
Loading...
Searching...
No Matches
PlayerEventListener Class Reference
+ Inheritance diagram for PlayerEventListener:

Public Types

using EventType = ::PlayerNotificationEvent
 

Public Member Functions

virtual::EventResult onPlayerAwardAchievement (::Player &player, ::MinecraftEventing::AchievementIds achievement)
 
virtual::EventResult onPlayerPortalBuilt (::Player &player, ::DimensionType dimensionBuiltIn)
 
virtual::EventResult onPlayerPortalUsed (::Player &player, ::DimensionType fromDimension, ::DimensionType toDimension)
 
virtual::EventResult onPlayerPoweredBeacon (::Player const &player, int const level)
 
virtual::EventResult onPlayerCaravanChanged (::Actor const &mob, int caravanCount)
 
virtual::EventResult onPlayerSaved (::Player &player)
 
virtual::EventResult onPlayerInput (::EntityContext &)
 
virtual::EventResult onPlayerAuthInputReceived (::Player &)
 
virtual::EventResult onPlayerAuthInputApplied (::Player &)
 
virtual::EventResult onPlayerTurn (::Player &player, ::Vec2 &turnDelta)
 
virtual::EventResult onCameraSetPlayerRot (::Player &, ::Vec2 const &)
 
virtual::EventResult onStartDestroyBlock (::Player &player, ::BlockPos const &pos, uchar &face)
 
virtual::EventResult onPlayerAction (::Player &player, ::PlayerActionType type, ::BlockPos const &pos, int data)
 
virtual::EventResult onLocalPlayerDeath (::IClientInstance &client, ::LocalPlayer &player)
 
virtual::EventResult onLocalPlayerRespawn (::IClientInstance &client, ::LocalPlayer &player)
 
virtual::EventResult onPlayerMove (::Player &player)
 
virtual::EventResult onPlayerSlide (::Player &player)
 
virtual::EventResult onPlayerTargetBlockHit (::Player &player, int const signalStrength)
 
virtual::EventResult onPlayerTick (::Player &player)
 
virtual::EventResult onPlayerStartRiding (::Player &player, ::Actor &vehicle)
 
virtual::EventResult onPlayerStopRiding (::Player &player, bool exitFromPassenger, bool entityIsBeingDestroyed, bool switchingVehicles)
 
virtual::EventResult onPlayerCreated (::LocalPlayer &player, ::std::string const &personaSlot, ::std::string const &classicSkinId, bool usingClassicSkin)
 
virtual::EventResult onPlayerTeleported (::Player &player)
 
virtual::EventResult onPlayerTeleported (::Player &, float)
 
virtual::EventResult onPlayerAttackedActor (::Player &player, ::Actor &target)
 
virtual::EventResult onPlayerDestroyedBlock (::Player &player, int x, int y, int z)
 
virtual::EventResult onPlayerDestroyedBlock (::Player &player, ::Block const &block)
 
virtual::EventResult onPlayerEquippedArmor (::Player &player, ::ItemDescriptor const &item)
 
virtual::EventResult onPlayerEnchantedItem (::Player &player, ::ItemStack const &item, ::ItemEnchants const &enchants)
 
virtual::EventResult onPlayerNamedItem (::Player &player, ::ItemDescriptor const &item)
 
virtual::EventResult onPlayerItemUseInteraction (::Player &player, ::ItemInstance const &itemBeforeUse)
 
virtual::EventResult onPlayerItemPlaceInteraction (::Player &player, ::ItemInstance const &itemBeforeUse)
 
virtual::EventResult onPlayerCraftedItem (::Player &player, ::ItemInstance const &craftedItem, bool recipeBook, bool hadSearchString, bool craftedAutomatically, int startingTabId, int endingTabId, int numTabsChanged, bool filterOn, bool recipeBookShown, ::std::vector< short > const &ingredientItemIDs)
 
virtual::EventResult onPlayerSmithiedItem (::Player &, ::ItemDescriptor const &)
 
virtual::EventResult onPlayerItemEquipped (::Player &player, ::ItemInstance const &equippedItem, int equipmentSlotId)
 
virtual::EventResult onPlayerPiglinBarter (::Player &player, ::std::string const &item, bool wasTargetingBarteringPlayer)
 
virtual::EventResult onPlayerWaxOnWaxOff (::Player &player, int const blockID)
 
virtual::EventResult onEvent (::PlayerNotificationEvent const &event)
 
MCAPI void $dtor ()
 
MCAPI::EventResult $onPlayerAwardAchievement (::Player &player, ::MinecraftEventing::AchievementIds achievement)
 
MCAPI::EventResult $onPlayerPortalBuilt (::Player &player, ::DimensionType dimensionBuiltIn)
 
MCAPI::EventResult $onPlayerPortalUsed (::Player &player, ::DimensionType fromDimension, ::DimensionType toDimension)
 
MCAPI::EventResult $onPlayerPoweredBeacon (::Player const &player, int const level)
 
MCAPI::EventResult $onPlayerCaravanChanged (::Actor const &mob, int caravanCount)
 
MCAPI::EventResult $onPlayerSaved (::Player &player)
 
MCAPI::EventResult $onPlayerInput (::EntityContext &)
 
MCAPI::EventResult $onPlayerAuthInputReceived (::Player &)
 
MCAPI::EventResult $onPlayerAuthInputApplied (::Player &)
 
MCAPI::EventResult $onPlayerTurn (::Player &player, ::Vec2 &turnDelta)
 
MCAPI::EventResult $onCameraSetPlayerRot (::Player &, ::Vec2 const &)
 
MCAPI::EventResult $onStartDestroyBlock (::Player &player, ::BlockPos const &pos, uchar &face)
 
MCAPI::EventResult $onPlayerAction (::Player &player, ::PlayerActionType type, ::BlockPos const &pos, int data)
 
MCAPI::EventResult $onLocalPlayerDeath (::IClientInstance &client, ::LocalPlayer &player)
 
MCAPI::EventResult $onLocalPlayerRespawn (::IClientInstance &client, ::LocalPlayer &player)
 
MCAPI::EventResult $onPlayerMove (::Player &player)
 
MCAPI::EventResult $onPlayerSlide (::Player &player)
 
MCAPI::EventResult $onPlayerTargetBlockHit (::Player &player, int const signalStrength)
 
MCAPI::EventResult $onPlayerTick (::Player &player)
 
MCAPI::EventResult $onPlayerStartRiding (::Player &player, ::Actor &vehicle)
 
MCAPI::EventResult $onPlayerStopRiding (::Player &player, bool exitFromPassenger, bool entityIsBeingDestroyed, bool switchingVehicles)
 
MCAPI::EventResult $onPlayerCreated (::LocalPlayer &player, ::std::string const &personaSlot, ::std::string const &classicSkinId, bool usingClassicSkin)
 
MCAPI::EventResult $onPlayerTeleported (::Player &player)
 
MCAPI::EventResult $onPlayerTeleported (::Player &, float)
 
MCAPI::EventResult $onPlayerAttackedActor (::Player &player, ::Actor &target)
 
MCAPI::EventResult $onPlayerDestroyedBlock (::Player &player, int x, int y, int z)
 
MCAPI::EventResult $onPlayerDestroyedBlock (::Player &player, ::Block const &block)
 
MCAPI::EventResult $onPlayerEquippedArmor (::Player &player, ::ItemDescriptor const &item)
 
MCAPI::EventResult $onPlayerEnchantedItem (::Player &player, ::ItemStack const &item, ::ItemEnchants const &enchants)
 
MCAPI::EventResult $onPlayerNamedItem (::Player &player, ::ItemDescriptor const &item)
 
MCAPI::EventResult $onPlayerItemUseInteraction (::Player &player, ::ItemInstance const &itemBeforeUse)
 
MCAPI::EventResult $onPlayerItemPlaceInteraction (::Player &player, ::ItemInstance const &itemBeforeUse)
 
MCAPI::EventResult $onPlayerCraftedItem (::Player &player, ::ItemInstance const &craftedItem, bool recipeBook, bool hadSearchString, bool craftedAutomatically, int startingTabId, int endingTabId, int numTabsChanged, bool filterOn, bool recipeBookShown, ::std::vector< short > const &ingredientItemIDs)
 
MCAPI::EventResult $onPlayerSmithiedItem (::Player &, ::ItemDescriptor const &)
 
MCAPI::EventResult $onPlayerItemEquipped (::Player &player, ::ItemInstance const &equippedItem, int equipmentSlotId)
 
MCAPI::EventResult $onPlayerPiglinBarter (::Player &player, ::std::string const &item, bool wasTargetingBarteringPlayer)
 
MCAPI::EventResult $onPlayerWaxOnWaxOff (::Player &player, int const blockID)
 
MCAPI::EventResult $onEvent (::PlayerNotificationEvent const &event)
 

Static Public Member Functions

static MCAPI void ** $vftable ()
 

Member Function Documentation

◆ $dtor()

MCAPI void PlayerEventListener::$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.

◆ $onPlayerAwardAchievement()

MCAPI::EventResult PlayerEventListener::$onPlayerAwardAchievement ( ::Player & player,
::MinecraftEventing::AchievementIds achievement )
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.

◆ $onPlayerPortalBuilt()

MCAPI::EventResult PlayerEventListener::$onPlayerPortalBuilt ( ::Player & player,
::DimensionType dimensionBuiltIn )
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.

◆ $onPlayerPortalUsed()

MCAPI::EventResult PlayerEventListener::$onPlayerPortalUsed ( ::Player & player,
::DimensionType fromDimension,
::DimensionType toDimension )
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.

◆ $onPlayerPoweredBeacon()

MCAPI::EventResult PlayerEventListener::$onPlayerPoweredBeacon ( ::Player const & player,
int 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.

◆ $onPlayerCaravanChanged()

MCAPI::EventResult PlayerEventListener::$onPlayerCaravanChanged ( ::Actor const & mob,
int caravanCount )
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.

◆ $onPlayerSaved()

MCAPI::EventResult PlayerEventListener::$onPlayerSaved ( ::Player & player)
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.

◆ $onPlayerInput()

MCAPI::EventResult PlayerEventListener::$onPlayerInput ( ::EntityContext & )
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 PlayerEventListener::$onPlayerAuthInputReceived ( ::Player & )
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 PlayerEventListener::$onPlayerAuthInputApplied ( ::Player & )
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.

◆ $onPlayerTurn()

MCAPI::EventResult PlayerEventListener::$onPlayerTurn ( ::Player & player,
::Vec2 & turnDelta )
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.

◆ $onCameraSetPlayerRot()

MCAPI::EventResult PlayerEventListener::$onCameraSetPlayerRot ( ::Player & ,
::Vec2 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.

◆ $onStartDestroyBlock()

MCAPI::EventResult PlayerEventListener::$onStartDestroyBlock ( ::Player & player,
::BlockPos const & pos,
uchar & face )
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.

◆ $onPlayerAction()

MCAPI::EventResult PlayerEventListener::$onPlayerAction ( ::Player & player,
::PlayerActionType type,
::BlockPos const & pos,
int data )
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.

◆ $onLocalPlayerDeath()

MCAPI::EventResult PlayerEventListener::$onLocalPlayerDeath ( ::IClientInstance & client,
::LocalPlayer & player )
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.

◆ $onLocalPlayerRespawn()

MCAPI::EventResult PlayerEventListener::$onLocalPlayerRespawn ( ::IClientInstance & client,
::LocalPlayer & player )
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.

◆ $onPlayerMove()

MCAPI::EventResult PlayerEventListener::$onPlayerMove ( ::Player & player)
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.

◆ $onPlayerSlide()

MCAPI::EventResult PlayerEventListener::$onPlayerSlide ( ::Player & player)
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.

◆ $onPlayerTargetBlockHit()

MCAPI::EventResult PlayerEventListener::$onPlayerTargetBlockHit ( ::Player & player,
int const signalStrength )
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.

◆ $onPlayerTick()

MCAPI::EventResult PlayerEventListener::$onPlayerTick ( ::Player & player)
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.

◆ $onPlayerStartRiding()

MCAPI::EventResult PlayerEventListener::$onPlayerStartRiding ( ::Player & player,
::Actor & vehicle )
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.

◆ $onPlayerStopRiding()

MCAPI::EventResult PlayerEventListener::$onPlayerStopRiding ( ::Player & player,
bool exitFromPassenger,
bool entityIsBeingDestroyed,
bool switchingVehicles )
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.

◆ $onPlayerCreated()

MCAPI::EventResult PlayerEventListener::$onPlayerCreated ( ::LocalPlayer & player,
::std::string const & personaSlot,
::std::string const & classicSkinId,
bool usingClassicSkin )
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.

◆ $onPlayerTeleported() [1/2]

MCAPI::EventResult PlayerEventListener::$onPlayerTeleported ( ::Player & player)
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.

◆ $onPlayerTeleported() [2/2]

MCAPI::EventResult PlayerEventListener::$onPlayerTeleported ( ::Player & ,
float  )
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.

◆ $onPlayerAttackedActor()

MCAPI::EventResult PlayerEventListener::$onPlayerAttackedActor ( ::Player & player,
::Actor & target )
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.

◆ $onPlayerDestroyedBlock() [1/2]

MCAPI::EventResult PlayerEventListener::$onPlayerDestroyedBlock ( ::Player & player,
int x,
int y,
int z )
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.

◆ $onPlayerDestroyedBlock() [2/2]

MCAPI::EventResult PlayerEventListener::$onPlayerDestroyedBlock ( ::Player & player,
::Block const & block )
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.

◆ $onPlayerEquippedArmor()

MCAPI::EventResult PlayerEventListener::$onPlayerEquippedArmor ( ::Player & player,
::ItemDescriptor const & item )
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.

◆ $onPlayerEnchantedItem()

MCAPI::EventResult PlayerEventListener::$onPlayerEnchantedItem ( ::Player & player,
::ItemStack const & item,
::ItemEnchants const & enchants )
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.

◆ $onPlayerNamedItem()

MCAPI::EventResult PlayerEventListener::$onPlayerNamedItem ( ::Player & player,
::ItemDescriptor const & item )
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.

◆ $onPlayerItemUseInteraction()

MCAPI::EventResult PlayerEventListener::$onPlayerItemUseInteraction ( ::Player & player,
::ItemInstance const & itemBeforeUse )
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.

◆ $onPlayerItemPlaceInteraction()

MCAPI::EventResult PlayerEventListener::$onPlayerItemPlaceInteraction ( ::Player & player,
::ItemInstance const & itemBeforeUse )
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.

◆ $onPlayerCraftedItem()

MCAPI::EventResult PlayerEventListener::$onPlayerCraftedItem ( ::Player & player,
::ItemInstance const & craftedItem,
bool recipeBook,
bool hadSearchString,
bool craftedAutomatically,
int startingTabId,
int endingTabId,
int numTabsChanged,
bool filterOn,
bool recipeBookShown,
::std::vector< short > const & ingredientItemIDs )
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.

◆ $onPlayerSmithiedItem()

MCAPI::EventResult PlayerEventListener::$onPlayerSmithiedItem ( ::Player & ,
::ItemDescriptor 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.

◆ $onPlayerItemEquipped()

MCAPI::EventResult PlayerEventListener::$onPlayerItemEquipped ( ::Player & player,
::ItemInstance const & equippedItem,
int equipmentSlotId )
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.

◆ $onPlayerPiglinBarter()

MCAPI::EventResult PlayerEventListener::$onPlayerPiglinBarter ( ::Player & player,
::std::string const & item,
bool wasTargetingBarteringPlayer )
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.

◆ $onPlayerWaxOnWaxOff()

MCAPI::EventResult PlayerEventListener::$onPlayerWaxOnWaxOff ( ::Player & player,
int const blockID )
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 PlayerEventListener::$onEvent ( ::PlayerNotificationEvent 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.

◆ $vftable()

static MCAPI void ** PlayerEventListener::$vftable ( )
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: