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

Public Member Functions

virtual void onBlockChanged (::BlockSource &source, ::BlockPos const &pos, uint layer, ::Block const &block, ::Block const &oldBlock, int updateFlags, ::ActorBlockSyncMessage const *syncMsg, ::BlockChangedEventTarget eventTarget, ::Actor *blockChangeSource)
 
virtual void onSourceCreated (::BlockSource &source)
 
virtual void onSourceDestroyed (::BlockSource &source)
 
virtual void onAreaChanged (::BlockSource &source, ::BlockPos const &min, ::BlockPos const &max)
 
virtual void onBrightnessChanged (::BlockSource &source, ::BlockPos const &pos)
 
virtual void onBlockEntityChanged (::BlockSource &source, ::BlockActor &te)
 
virtual void onEntityChanged (::BlockSource &source, ::Actor &entity)
 
virtual void onBlockEvent (::BlockSource &source, int x, int y, int z, int b0, int b1)
 
MCFOLD void $dtor ()
 
MCFOLD void $onSourceCreated (::BlockSource &source)
 
MCFOLD void $onSourceDestroyed (::BlockSource &source)
 
MCFOLD void $onAreaChanged (::BlockSource &source, ::BlockPos const &min, ::BlockPos const &max)
 
MCFOLD void $onBlockChanged (::BlockSource &source, ::BlockPos const &pos, uint layer, ::Block const &block, ::Block const &oldBlock, int updateFlags, ::ActorBlockSyncMessage const *syncMsg, ::BlockChangedEventTarget eventTarget, ::Actor *blockChangeSource)
 
MCAPI void $onBrightnessChanged (::BlockSource &source, ::BlockPos const &pos)
 
MCFOLD void $onBlockEntityChanged (::BlockSource &source, ::BlockActor &te)
 
MCFOLD void $onEntityChanged (::BlockSource &source, ::Actor &entity)
 
MCFOLD void $onBlockEvent (::BlockSource &source, int x, int y, int z, int b0, int b1)
 

Static Public Member Functions

static MCAPI void ** $vftable ()
 

Public Attributes

::ll::TypedStorage< 8, 64, ::std::unordered_map<::BlockPos, ::Block const & > > mBlockChangesMap
 
::ll::TypedStorage< 8, 64, ::std::unordered_map<::BlockPos, ::Block const & > > mExtraBlockChangesMap
 
::ll::TypedStorage< 8, 80, ::Bedrock::Threading::MutexmMapMutex
 

Member Function Documentation

◆ onBlockChanged()

virtual void BlockEventTracker::onBlockChanged ( ::BlockSource & source,
::BlockPos const & pos,
uint layer,
::Block const & block,
::Block const & oldBlock,
int updateFlags,
::ActorBlockSyncMessage const * syncMsg,
::BlockChangedEventTarget eventTarget,
::Actor * blockChangeSource )
virtual

Reimplemented from BlockSourceListener.

◆ $vftable()

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