LiteLoaderBDS-1.16.40/LiteLoader/Header/MC/Objective.hpp
2022-09-21 19:47:03 +08:00

33 lines
1.0 KiB
C++

// This Header is auto generated by BDSLiteLoader Toolchain
#pragma once
#define AUTO_GENERATED
#include "../Global.h"
#define BEFORE_EXTRA
#undef BEFORE_EXTRA
class Objective {
#define AFTER_EXTRA
#undef AFTER_EXTRA
#ifndef DISABLE_CONSTRUCTOR_PREVENTION_OBJECTIVE
public:
class Objective& operator=(class Objective const &) = delete;
Objective(class Objective const &) = delete;
Objective() = delete;
#endif
public:
#ifdef ENABLE_VIRTUAL_FAKESYMBOL_OBJECTIVE
#endif
MCAPI Objective(std::string const &, class ObjectiveCriteria const &);
MCAPI struct ScoreInfo getPlayerScore(struct ScoreboardId const &) const;
MCAPI bool getPlayerScoreRef(struct ScoreboardId const &, struct ScoreInfoRef &);
MCAPI std::vector<struct ScoreboardId> getPlayers() const;
MCAPI bool hasScore(struct ScoreboardId const &) const;
MCAPI static std::unique_ptr<class Objective> deserialize(class CompoundTag const &, class Scoreboard &);
MCAPI static std::unique_ptr<class CompoundTag> serialize(class Objective const &);
};