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

Public Member Functions

virtual::DisplayObjective const * setDisplayObjective (::std::string const &displaySlotName, ::Objective const &objective, ::ObjectiveSortOrder const order)
virtual::Objective * clearDisplayObjective (::std::string const &displaySlotName)
virtual::ScoreboardId const & createScoreboardId (::Player const &player)
virtual::ScoreboardId const & createScoreboardId (::Actor const &entity)
virtual::ScoreboardId const & createScoreboardId (::std::string const &fakePlayer)
virtual void onObjectiveAdded (::Objective const &objective)
virtual void onObjectiveRemoved (::Objective &objective)
virtual void onScoreChanged (::ScoreboardId const &id, ::Objective const &obj)
virtual void onPlayerScoreRemoved (::ScoreboardId const &id, ::Objective const &objective)
virtual void onPlayerJoined (::Player const &player)
virtual void onPlayerIdentityUpdated (::PlayerScoreboardId const &playerId)
virtual void tick ()
virtual void setPacketSender (::PacketSender *sender)
virtual void writeToLevelStorage ()
virtual bool isClientSide () const
MCAPI Scoreboard (::CommandSoftEnumRegistry registry)
MCAPI::Objective * addObjective (::std::string const &name, ::std::string const &displayName, ::ObjectiveCriteria const &criteria)
MCAPI void addScoreListener (::Player &player, ::std::string const &objective)
MCAPI int applyPlayerOperation (::ScoreboardOperationResult &result, ::std::vector<::ScoreboardId > &sourceErrorIds, ::ScoreboardId const &target, ::Objective &targetObjective, ::std::vector<::ScoreboardId > &selector, ::Objective &objective, ::CommandOperator opCode)
MCAPI_C bool clearScoreboardIdentity (::ScoreboardId const &scoreboardId)
MCAPI::ObjectiveCriteria const & createObjectiveCriteria (::std::string const &name, bool readOnly, ::ObjectiveRenderType renderType)
MCAPI::ObjectiveCriteria * getCriteria (::std::string const &criteriaName) const
MCAPI ::std::vector<::PlayerScoregetDisplayInfoFiltered (::std::string const &displaySlot) const
MCAPI_C ::std::vector<::PlayerScoregetDisplayInfoSorted (::std::string const &displaySlot, ::std::function< void(::ObjectiveSortOrder, ::std::vector<::PlayerScore > &)> sortMethod) const
MCAPI::DisplayObjective const * getDisplayObjective (::std::string const &displaySlotName) const
MCAPI ::std::vector<::std::string > getDisplayObjectiveSlotNames () const
MCAPI ::std::vector<::ScoreInfogetIdScores (::ScoreboardId const &id) const
MCAPI::Objective * getObjective (::std::string const &name) const
MCAPI ::std::vector<::std::string > getObjectiveNames () const
MCAPI ::std::vector<::Objective const * > getObjectives () const
MCAPI::ScoreboardId const & getScoreboardId (::Actor const &entity) const
MCAPI::ScoreboardId const & getScoreboardId (::std::string const &name) const
MCAPI::ScoreboardId const & getScoreboardId (::Player const &player) const
MCAPI ::std::vector<::ScoreboardIdentityRefgetScoreboardIdentityRefs () const
MCAPI ::std::vector<::ScoreboardIdgetTrackedIds () const
MCAPI::ScoreboardIdentityRef const & registerScoreboardIdentity (::CompoundTag const &loadedData)
MCAPI::ScoreboardIdentityRef const & registerScoreboardIdentity (::ScoreboardId const &scoreboardId, ::ActorUniqueID const &entityId)
MCAPI::ScoreboardIdentityRef const & registerScoreboardIdentity (::ScoreboardId const &scoreboardId, ::std::string const &name)
MCAPI::ScoreboardIdentityRef const & registerScoreboardIdentity (::ScoreboardId const &scoreboardId, ::PlayerScoreboardId const &playerId)
MCAPI bool removeObjective (::Objective *objective)
MCAPI void removeScoreListener (::Player const &player, ::std::string const &objective)
MCAPI bool resetPlayerScore (::ScoreboardId const &id, ::Objective &objective)
MCAPI void resetPlayerScore (::ScoreboardId const &id)
MCAPI void * $ctor (::CommandSoftEnumRegistry registry)
MCAPI void $dtor ()
MCAPI::DisplayObjective const * $setDisplayObjective (::std::string const &displaySlotName, ::Objective const &objective, ::ObjectiveSortOrder const order)
MCAPI::Objective * $clearDisplayObjective (::std::string const &displaySlotName)
MCFOLD::ScoreboardId const & $createScoreboardId (::Player const &player)
MCFOLD::ScoreboardId const & $createScoreboardId (::Actor const &entity)
MCFOLD::ScoreboardId const & $createScoreboardId (::std::string const &fakePlayer)
MCAPI void $onObjectiveAdded (::Objective const &objective)
MCAPI void $onObjectiveRemoved (::Objective &objective)
MCAPI void $onScoreChanged (::ScoreboardId const &id, ::Objective const &obj)
MCFOLD void $onPlayerScoreRemoved (::ScoreboardId const &id, ::Objective const &objective)
MCFOLD void $onPlayerJoined (::Player const &player)
MCFOLD void $onPlayerIdentityUpdated (::PlayerScoreboardId const &playerId)
MCFOLD void $tick ()
MCFOLD void $setPacketSender (::PacketSender *sender)
MCFOLD void $writeToLevelStorage ()
MCFOLD bool $isClientSide () const

Static Public Member Functions

static MCAPI ::std::string const & DEFAULT_CRITERIA ()
static MCAPI ::std::string const & DISPLAY_SLOT_BELOWNAME ()
static MCAPI ::std::string const & DISPLAY_SLOT_LIST ()
static MCAPI ::std::string const & DISPLAY_SLOT_SIDEBAR ()
static MCAPI char const *& OBJECTIVES_ENUM ()
static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 8, ::CommandSoftEnumRegistrymRegistry
::ll::TypedStorage< 8, 64, ::std::unordered_map<::std::string, ::DisplayObjective > > mDisplayObjectives
::ll::TypedStorage< 8, 256, ::IdentityDictionarymIdentityDict
::ll::TypedStorage< 8, 64, ::std::unordered_map<::ScoreboardId, ::ScoreboardIdentityRef > > mIdentityRefs
::ll::TypedStorage< 1, 1, bool > mShouldUpdateUI
::ll::TypedStorage< 8, 64, ::std::unordered_map<::std::string, ::std::unique_ptr<::Objective > > > mObjectives
::ll::TypedStorage< 8, 64, ::std::unordered_map< uint64, ::Bedrock::NonOwnerPointer<::Objective > > > mObjectivesHashLookup
::ll::TypedStorage< 8, 64, ::std::unordered_map<::std::string, ::std::unique_ptr<::ObjectiveCriteria > > > mCriteria
::ll::TypedStorage< 8, 96, ::ScoreboardEventCoordinatormScoreboardEventCoordinator
::ll::TypedStorage< 8, 72, ::PlayerScoreboardEventListenermPlayerListener

Member Function Documentation

◆ $vftable()

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