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

Public Types

using CallbackFunction = ::std::function<void(::BlockPos const&, uint, ::Block const&, ::Actor*)>

Public Member Functions

MCAPI::BlockEventDispatcherToken registerListener (::Vec3 const &shapePos, float shapeRadius, ::std::function< void(::BlockPos const &, uint, ::Block const &, ::Actor *)> callback)
MCFOLD void * $ctor ()
MCFOLD void * $ctor (::Bedrock::EnableNonOwnerReferences const &)
MCFOLD void $dtor ()

Static Public Member Functions

static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 64, ::std::unordered_map< int, ::std::unique_ptr<::ListenerInfo > > > mRegisteredListeners
::ll::TypedStorage< 4, 4, int > mHandleCounter
::std::shared_ptr<::Bedrock::EnableNonOwnerReferences::ControlBlockmControlBlock

Member Function Documentation

◆ $vftable()

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