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

Public Types

using EventFuncPtr

Public Member Functions

MCAPI void sendOnObjectiveAdded (::std::string const &objective)
MCAPI void sendOnObjectiveRemoved (::std::string const &objective)
MCAPI void sendOnScoreChanged (::ScoreboardId const &id, ::std::string const &objective, int score)
MCAPI bool registerListener (gsl::not_null< ::ScoreboardEventListener * > listener)
MCAPI void processEvent (EventFuncPtr processor)
MCAPI auto _processEvent (T1 *, T2 &event)

Public Attributes

std::vector< ::ScoreboardEventListener * > mListeners
std::vector< EventFuncPtr > mEventsToProcess
std::vector< ::ScoreboardEventListener * > mPendingRegistrations
bool mHasPendingRegistrations
std::thread::id mThreadId
bool mThreadIdInitialized
uint mThreadCheckIndex

Member Function Documentation

◆ sendOnObjectiveAdded()

MCAPI void ScoreboardEventCoordinator::sendOnObjectiveAdded ( ::std::string const & objective)
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.

◆ sendOnObjectiveRemoved()

MCAPI void ScoreboardEventCoordinator::sendOnObjectiveRemoved ( ::std::string const & objective)
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.

◆ sendOnScoreChanged()

MCAPI void ScoreboardEventCoordinator::sendOnScoreChanged ( ::ScoreboardId const & id,
::std::string const & objective,
int score )
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: