36 ::ll::TypedStorage<8, 8, ::CommandSoftEnumRegistry> mRegistry;
37 ::ll::TypedStorage<8, 64, ::std::unordered_map<::std::string, ::DisplayObjective>> mDisplayObjectives;
38 ::ll::TypedStorage<8, 256, ::IdentityDictionary> mIdentityDict;
39 ::ll::TypedStorage<8, 64, ::std::unordered_map<::ScoreboardId, ::ScoreboardIdentityRef>> mIdentityRefs;
40 ::ll::TypedStorage<1, 1, bool> mShouldUpdateUI;
41 ::ll::TypedStorage<8, 64, ::std::unordered_map<::std::string, ::std::unique_ptr<::Objective>>> mObjectives;
42 ::ll::TypedStorage<8, 64, ::std::unordered_map<uint64, ::Bedrock::NonOwnerPointer<::Objective>>>
43 mObjectivesHashLookup;
44 ::ll::TypedStorage<8, 64, ::std::unordered_map<::std::string, ::std::unique_ptr<::ObjectiveCriteria>>> mCriteria;
45 ::ll::TypedStorage<8, 112, ::ScoreboardEventCoordinator> mScoreboardEventCoordinator;
46 ::ll::TypedStorage<8, 72, ::PlayerScoreboardEventListener> mPlayerListener;
56 virtual ::DisplayObjective
const* setDisplayObjective(
57 ::std::string
const& displaySlotName,
59 ::ObjectiveSortOrder
const order
63 virtual ::Objective* clearDisplayObjective(::std::string
const& displaySlotName);
66 virtual ::ScoreboardId
const& createScoreboardId(
::Player const& player);
69 virtual ::ScoreboardId
const& createScoreboardId(
::Actor const& entity);
72 virtual ::ScoreboardId
const& createScoreboardId(::std::string
const& fakePlayer);
75 virtual void onObjectiveAdded(
::Objective const& objective);
78 virtual void onObjectiveRemoved(
::Objective& objective);
87 virtual void onPlayerJoined(
::Player const& player);
99 virtual void writeToLevelStorage();
102 virtual bool isClientSide()
const;
111 addObjective(::std::string
const& name, ::std::string
const& displayName,
::ObjectiveCriteria const& criteria);
113 MCAPI
int applyPlayerOperation(
115 ::std::vector<::ScoreboardId>& sourceErrorIds,
118 ::std::vector<::ScoreboardId>& selector,
120 ::CommandOperator opCode
123 MCAPI
bool clearScoreboardIdentity(
::ScoreboardId const& scoreboardId);
125 MCAPI ::ObjectiveCriteria
const&
126 createObjectiveCriteria(::std::string
const& name,
bool readOnly, ::ObjectiveRenderType renderType);
128 MCAPI ::ObjectiveCriteria* getCriteria(::std::string
const& criteriaName)
const;
130 MCAPI ::std::vector<::PlayerScore> getDisplayInfoFiltered(::std::string
const& displaySlot)
const;
132 MCAPI ::DisplayObjective
const* getDisplayObjective(::std::string
const& displaySlotName)
const;
134 MCAPI ::std::vector<::std::string> getDisplayObjectiveSlotNames()
const;
136 MCAPI ::std::vector<::ScoreInfo> getIdScores(
::ScoreboardId const&
id)
const;
138 MCAPI ::Objective* getObjective(::std::string
const& name)
const;
140 MCAPI ::std::vector<::std::string> getObjectiveNames()
const;
142 MCAPI ::std::vector<::Objective const*> getObjectives()
const;
144 MCAPI ::ScoreboardId
const& getScoreboardId(
::Actor const& entity)
const;
146 MCAPI ::ScoreboardId
const& getScoreboardId(::std::string
const& name)
const;
148 MCAPI ::ScoreboardId
const& getScoreboardId(
::Player const& player)
const;
150 MCAPI ::ScoreboardIdentityRef* getScoreboardIdentityRef(
::ScoreboardId const& scoreboardId);
152 MCAPI ::std::vector<::ScoreboardIdentityRef> getScoreboardIdentityRefs()
const;
154 MCAPI ::std::vector<::ScoreboardId> getTrackedIds()
const;
156 MCAPI
int modifyPlayerScore(
161 ::PlayerScoreSetFunction action
164 MCAPI ::ScoreboardIdentityRef
const& registerScoreboardIdentity(
::CompoundTag const& loadedData);
166 MCAPI ::ScoreboardIdentityRef
const&
167 registerScoreboardIdentity(
::ScoreboardId const& scoreboardId, ::std::string
const& name);
169 MCAPI ::ScoreboardIdentityRef
const&
172 MCAPI
bool removeObjective(
::Objective* objective);
178 MCAPI ::std::optional<::ScoreInfo> tryGetIdScore(
::ScoreboardId const&
id, uint64
const& objectiveHash)
const;
184 MCAPI static ::std::string
const& DEFAULT_CRITERIA();
186 MCAPI static ::std::string
const& DISPLAY_SLOT_BELOWNAME();
188 MCAPI static ::std::string
const& DISPLAY_SLOT_LIST();
190 MCAPI static ::std::string
const& DISPLAY_SLOT_SIDEBAR();
192 MCAPI
static char const*& OBJECTIVES_ENUM();
210 MCAPI ::DisplayObjective
const* $setDisplayObjective(
211 ::std::string
const& displaySlotName,
213 ::ObjectiveSortOrder
const order
216 MCAPI ::Objective* $clearDisplayObjective(::std::string
const& displaySlotName);
218 MCFOLD ::ScoreboardId
const& $createScoreboardId(
::Player const& player);
220 MCFOLD ::ScoreboardId
const& $createScoreboardId(
::Actor const& entity);
222 MCFOLD ::ScoreboardId
const& $createScoreboardId(::std::string
const& fakePlayer);
224 MCAPI
void $onObjectiveAdded(
::Objective const& objective);
226 MCAPI
void $onObjectiveRemoved(
::Objective& objective);
232 MCFOLD
void $onPlayerJoined(
::Player const& player);
240 MCFOLD
void $writeToLevelStorage();
242 MCFOLD
bool $isClientSide()
const;
248 MCAPI
static void** $vftable();