LeviLamina
Loading...
Searching...
No Matches
ScriptModuleMinecraft::ScriptPlayerEventListener Class Reference
Inheritance diagram for ScriptModuleMinecraft::ScriptPlayerEventListener:

Public Types

using ContainerCloseContext

Public Member Functions

virtual::EventResult onEvent (::PlayerRespawnEvent const &respawnEvent)
virtual::EventResult onEvent (::PlayerInitialSpawnEvent const &initialSpawnEvent)
virtual::EventResult onEvent (::PlayerDimensionChangeAfterEvent const &playerDimensionChangeEvent)
virtual::EventResult onEvent (::PlayerInputModeChangeEvent const &playerInputModeChangeEvent)
virtual::EventResult onEvent (::PlayerInputPermissionCategoryChangeEvent const &event)
virtual::EventResult onEvent (::PlayerInteractWithEntityAfterEvent const &playerInteractWithEntityEvent)
virtual::EventResult onEvent (::PlayerInteractWithBlockAfterEvent const &playerInteractWithBlockEvent)
virtual::EventResult onEvent (::PlayerGameModeChangeEvent const &playerGameModeChangeEvent)
virtual::EventResult onEvent (::PlayerEmoteEvent const &playerEmoteEvent)
virtual::EventResult onEvent (::PlayerScriptInputEvent const &e)
virtual::EventResult onEvent (::PlayerInventoryItemChangeEvent const &e)
virtual::EventResult onEvent (::PlayerHotbarSelectedSlotChangeEvent const &e)
virtual::EventResult onEvent (::PlayerUseNameTagEvent const &nameTagEvent)
virtual::EventResult onEvent (::PlayerSwingStartEvent const &e)
virtual::EventResult onEvent (::PlayerOpenedContainerEvent const &e)
virtual::EventResult onEvent (::PlayerClosedContainerEvent const &e)
MCAPI ScriptPlayerEventListener (::Scripting::WeakLifetimeScope const &scope, ::Scripting::TypedObjectHandle<::ScriptModuleMinecraft::IScriptWorldAfterEvents > handle)
MCAPI void flushContainerCloseContext (::Player const &player)
MCAPI void onPlayerOpenedContainer (::Player const &player, ::BlockPos blockPos)
MCAPI void onPlayerOpenedContainer (::Player const &player, ::ActorUniqueID entityUniqueId)
MCAPI void * $ctor (::Scripting::WeakLifetimeScope const &scope, ::Scripting::TypedObjectHandle<::ScriptModuleMinecraft::IScriptWorldAfterEvents > handle)
MCAPI::EventResult $onEvent (::PlayerRespawnEvent const &respawnEvent)
MCAPI::EventResult $onEvent (::PlayerInitialSpawnEvent const &initialSpawnEvent)
MCAPI::EventResult $onEvent (::PlayerDimensionChangeAfterEvent const &playerDimensionChangeEvent)
MCAPI::EventResult $onEvent (::PlayerInputModeChangeEvent const &playerInputModeChangeEvent)
MCAPI::EventResult $onEvent (::PlayerInputPermissionCategoryChangeEvent const &event)
MCAPI::EventResult $onEvent (::PlayerInteractWithEntityAfterEvent const &playerInteractWithEntityEvent)
MCAPI::EventResult $onEvent (::PlayerInteractWithBlockAfterEvent const &playerInteractWithBlockEvent)
MCAPI::EventResult $onEvent (::PlayerGameModeChangeEvent const &playerGameModeChangeEvent)
MCAPI::EventResult $onEvent (::PlayerEmoteEvent const &playerEmoteEvent)
MCAPI::EventResult $onEvent (::PlayerScriptInputEvent const &e)
MCAPI::EventResult $onEvent (::PlayerInventoryItemChangeEvent const &e)
MCAPI::EventResult $onEvent (::PlayerHotbarSelectedSlotChangeEvent const &e)
MCAPI::EventResult $onEvent (::PlayerUseNameTagEvent const &nameTagEvent)
MCAPI::EventResult $onEvent (::PlayerSwingStartEvent const &e)
MCAPI::EventResult $onEvent (::PlayerOpenedContainerEvent const &e)
MCAPI::EventResult $onEvent (::PlayerClosedContainerEvent const &e)

Static Public Member Functions

static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 16, ::Scripting::WeakLifetimeScopemScope
::ll::TypedStorage< 8, 16, ::Scripting::TypedObjectHandle<::ScriptModuleMinecraft::IScriptWorldAfterEvents > > mScriptEventsHandle
::ll::TypedStorage< 8, 64, ::std::unordered_map< ::ActorUniqueID, ::std::variant< ::std::shared_ptr<::ScriptModuleMinecraft::ScriptActorContainerAccessAfterEventIntermediateData >, ::std::shared_ptr<::ScriptModuleMinecraft::ScriptBlockContainerAccessAfterEventIntermediateData > > > > mContainerCloseContextDataMap

Member Typedef Documentation

◆ ContainerCloseContext

using ScriptModuleMinecraft::ScriptPlayerEventListener::ContainerCloseContext
Initial value:
::std::variant<
::std::shared_ptr<::ScriptModuleMinecraft::ScriptActorContainerAccessAfterEventIntermediateData>,
::std::shared_ptr<::ScriptModuleMinecraft::ScriptBlockContainerAccessAfterEventIntermediateData>>

Member Function Documentation

◆ $vftable()

MCAPI void ** ScriptModuleMinecraft::ScriptPlayerEventListener::$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: