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

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