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

Public Types

using ListenerVector = ::std::vector<::std::reference_wrapper<::IGameEventListener>>
using RegistrationToken = ::gsl::final_action<::std::function<void()>>

Public Member Functions

MCAPI ::gsl::final_action<::std::function< void()> > registerListener (::IGameEventListener &gameEventListener)

Public Attributes

::ll::TypedStorage< 8, 24, ::std::vector<::std::reference_wrapper<::IGameEventListener > > > mListeners

Member Function Documentation

◆ registerListener()

MCAPI ::gsl::final_action<::std::function< void()> > GameEventListenerRegistry::registerListener ( ::IGameEventListener & gameEventListener)
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: