mirror of
https://github.com/quizhizhe/LiteLoaderBDS-1.16.40.git
synced 2025-06-03 04:23:39 +00:00
46 lines
1.5 KiB
C++
46 lines
1.5 KiB
C++
// This Header is auto generated by BDSLiteLoader Toolchain
|
|
#pragma once
|
|
#define AUTO_GENERATED
|
|
#include "llapi/Global.h"
|
|
|
|
#define BEFORE_EXTRA
|
|
#include <llapi/HookAPI.h>
|
|
#undef BEFORE_EXTRA
|
|
|
|
class Objective {
|
|
|
|
#define AFTER_EXTRA
|
|
// Add Member There
|
|
public:
|
|
inline std::string getName(){
|
|
//ScoreboardCommand::applyPlayerOperation Line186
|
|
return dAccess<std::string>(this, ll::offset::OBJECTIVE_getName);
|
|
};
|
|
|
|
LIAPI bool setDisplay(const std::string& slotName, ObjectiveSortOrder sort);
|
|
|
|
inline std::string const & getDisplayName() const{
|
|
//Objective::serialize
|
|
return dAccess<std::string>(this,ll::offset::OBJECTIVE_getDisplayName);
|
|
};
|
|
|
|
#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 &);
|
|
|
|
}; |