LeviLamina
Loading...
Searching...
No Matches
ScoreboardIdentityRef.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/scores/PlayerScoreSetFunction.h"
7#include "mc/world/scores/ScoreboardId.h"
8
9// auto generated forward declare list
10// clang-format off
11class CompoundTag;
12class Objective;
13class Scoreboard;
14struct ActorUniqueID;
15// clang-format on
16
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<4, 4, uint> mObjectiveReferences;
22 ::ll::TypedStorage<8, 16, ::ScoreboardId> mScoreboardId;
23 // NOLINTEND
24
25public:
26 // member functions
27 // NOLINTBEGIN
28 MCNAPI ::std::string const&
29 getName(::std::function<::std::string const&(::ActorUniqueID)> const& playerNameResolver) const;
30
31 MCNAPI bool modifyScoreInObjective(int& result, ::Objective& objective, int score, ::PlayerScoreSetFunction fn);
32
33 MCNAPI bool removeFromObjective(::Scoreboard& scoreboard, ::Objective& objective);
34 // NOLINTEND
35
36public:
37 // static functions
38 // NOLINTBEGIN
39 MCNAPI static ::std::unique_ptr<::CompoundTag> serialize(::ScoreboardIdentityRef const& toSave);
40 // NOLINTEND
41
42public:
43 // static variables
44 // NOLINTBEGIN
45 MCNAPI static ::ScoreboardIdentityRef const& Undefined();
46 // NOLINTEND
47};
Definition CompoundTag.h:13
Definition Objective.h:17
Definition ScoreboardIdentityRef.h:17
static MCAPI ::ScoreboardIdentityRef const & Undefined()
MCAPI::std::string const & getName(::std::function<::std::string const &(::ActorUniqueID)> const &playerNameResolver) const
MCAPI bool modifyScoreInObjective(int &result, ::Objective &objective, int score, ::PlayerScoreSetFunction fn)
MCAPI bool removeFromObjective(::Scoreboard &scoreboard, ::Objective &objective)
static MCAPI ::std::unique_ptr<::CompoundTag > serialize(::ScoreboardIdentityRef const &toSave)
Definition Scoreboard.h:32
Definition ActorUniqueID.h:5