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

Public Types

using EventFuncPtr

Public Member Functions

MCAPI::CoordinatorResult sendEvent (::EventRef<::BlockGameplayEvent<::CoordinatorResult > > const &event)
MCAPI::CoordinatorResult sendEvent (::EventRef<::MutableBlockGameplayEvent<::CoordinatorResult > > event)
MCAPI bool registerListener (gsl::not_null< ::BlockEventListener * > listener)
MCAPI void processEvent (EventFuncPtr processor)
MCAPI auto _processEvent (T1 *, T2 &event)

Public Attributes

::ll::TypedStorage< 8, 8, ::std::unique_ptr<::BlockGameplayHandler > > mBlockGameplayHandler
std::vector< ::BlockEventListener * > mListeners
std::vector< EventFuncPtr > mEventsToProcess
std::vector< ::BlockEventListener * > mPendingRegistrations
bool mHasPendingRegistrations
std::thread::id mThreadId
bool mThreadIdInitialized
uint mThreadCheckIndex

Member Function Documentation

◆ sendEvent()

MCAPI::CoordinatorResult BlockEventCoordinator::sendEvent ( ::EventRef<::BlockGameplayEvent<::CoordinatorResult > > 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.

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