LeviLamina
Loading...
Searching...
No Matches
DisplayObjective.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/scores/ObjectiveSortOrder.h"
7
8// auto generated forward declare list
9// clang-format off
10class CompoundTag;
11class Objective;
12class Scoreboard;
13struct ScoreboardId;
14// clang-format on
15
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<8, 8, ::Objective const*> mObjective;
21 ::ll::TypedStorage<1, 1, ::ObjectiveSortOrder> mSortOrder;
22 // NOLINTEND
23
24public:
25 // member functions
26 // NOLINTBEGIN
27 MCNAPI ::std::string const getBelowNameStringForId(::ScoreboardId const& scoreboardId) const;
28
29 MCNAPI ::Objective const& getObjective() const;
30
31 MCNAPI ::ObjectiveSortOrder getSortOrder() const;
32
33#ifdef LL_PLAT_C
34 MCNAPI bool isValid() const;
35#endif
36 // NOLINTEND
37
38public:
39 // static functions
40 // NOLINTBEGIN
41 MCNAPI static ::DisplayObjective deserialize(::CompoundTag const& dataTag, ::Scoreboard const& owner);
42
43 MCNAPI static ::std::unique_ptr<::CompoundTag> serialize(::DisplayObjective const& toSave);
44 // NOLINTEND
45};
Definition CompoundTag.h:23
Definition DisplayObjective.h:16
static MCAPI ::DisplayObjective deserialize(::CompoundTag const &dataTag, ::Scoreboard const &owner)
MCAPI::ObjectiveSortOrder getSortOrder() const
MCAPI::std::string const getBelowNameStringForId(::ScoreboardId const &scoreboardId) const
static MCAPI ::std::unique_ptr<::CompoundTag > serialize(::DisplayObjective const &toSave)
MCAPI::Objective const & getObjective() const
Definition Objective.h:17
Definition Scoreboard.h:35
Definition ScoreboardId.h:11