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