34 enum class Action :
int {
47 enum class Category :
int {
56 ::ll::TypedStorage<8, 8, ::Scoreboard&> mScoreboard;
61 InitProxy& operator=(InitProxy
const&);
62 InitProxy(InitProxy
const&);
70 ::ll::TypedStorage<4, 4, int> mSuccessCount;
71 ::ll::TypedStorage<4, 4, int> mFirstNewScore;
72 ::ll::TypedStorage<8, 32, ::std::string> mFirstSuccess;
91 ::ll::TypedStorage<4, 4, ::ScoreboardCommand::Category> mCategory;
92 ::ll::TypedStorage<4, 4, ::ScoreboardCommand::Action> mAction;
93 ::ll::TypedStorage<8, 32, ::std::string> mObjective;
94 ::ll::TypedStorage<8, 32, ::std::string> mSourceObjective;
95 ::ll::TypedStorage<1, 1, ::ObjectiveSortOrder> mOrder;
96 ::ll::TypedStorage<8, 32, ::std::string> mCriteria;
97 ::ll::TypedStorage<8, 32, ::std::string> mName;
98 ::ll::TypedStorage<8, 32, ::std::string> mDisplayName;
99 ::ll::TypedStorage<8, 200, ::WildcardCommandSelector<::Actor>> mTargets;
100 ::ll::TypedStorage<8, 200, ::WildcardCommandSelector<::Actor>> mSources;
101 ::ll::TypedStorage<1, 1, ::CommandOperator> mOperator;
102 ::ll::TypedStorage<4, 8, ::CommandWildcardInt> mMin;
103 ::ll::TypedStorage<4, 8, ::CommandWildcardInt> mMax;
104 ::ll::TypedStorage<4, 4, int> mRandMin;
105 ::ll::TypedStorage<4, 4, int> mRandMax;
106 ::ll::TypedStorage<4, 4, int> mValue;
107 ::ll::TypedStorage<1, 1, bool> mTargetsSet;
115 virtual ~ScoreboardCommand() ;
121 MCAPI ScoreboardCommand();
123 MCAPI
void _generateCumulativeOutput(
129 MCAPI ::Objective* _getObjective(
131 ::std::string
const& name,
136 MCAPI ::std::vector<::ScoreboardId> _getScoreboardIdsForSelector(
141 bool shouldCreateMissingId
144 MCAPI
bool _getSelectorResultsForObjective(
145 ::std::vector<::ScoreboardId>& results,
151 bool shouldCreateMissingId
154 MCAPI
void addObjective(
156 ::std::string
const& name,
157 ::std::string
const& criteriaName,
158 ::std::string
const& displayName,
162 MCAPI
void addPlayerScore(
164 ::PlayerScoreSetFunction fn,
167 ::std::function<::std::string
const&(
::ActorUniqueID)>
const& playerNameResolver,
172 MCAPI
bool applyPlayerOperation(
174 ::std::function<::std::string
const&(
::ActorUniqueID)>
const& playerNameResolver,
185 MCAPI
void listPlayers(
188 ::std::function<::std::string
const&(
::ActorUniqueID)>
const& playerNameResolver,
196 MCAPI
void resetPlayer(
200 ::std::function<::std::string
const&(
::ActorUniqueID)>
const& playerNameResolver,
204 MCAPI
void setDisplayObjective(
206 ::std::string
const& displaySlotName,
207 ::std::string
const& objectiveName,
208 ::ObjectiveSortOrder order,
212 MCAPI
bool setPlayerRandomScore(
216 ::std::function<::std::string
const&(
::ActorUniqueID)>
const& playerNameResolver,
221 MCAPI
void testPlayerScore(
224 ::std::function<::std::string
const&(
::ActorUniqueID)>
const& playerNameResolver,
232 MCAPI static ::std::vector<::std::string> _getNonSortableDisplaySlots(
::Scoreboard& scoreboard);
234 MCAPI static ::std::vector<::std::string> _getSortableDisplaySlots(
::Scoreboard& scoreboard);