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;
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 MCAPI ::ScoreboardOperationResult
29 modifyScoreInObjective(int& result, ::Objective& objective, int score, ::PlayerScoreSetFunction fn);
30
31 MCAPI bool removeFromObjective(::Scoreboard& scoreboard, ::Objective& objective);
32 // NOLINTEND
33
34public:
35 // static functions
36 // NOLINTBEGIN
37#ifdef LL_PLAT_S
38 MCAPI static ::std::unique_ptr<::CompoundTag> serialize(::ScoreboardIdentityRef const& toSave);
39#endif
40 // NOLINTEND
41
42public:
43 // static variables
44 // NOLINTBEGIN
45 MCAPI static ::ScoreboardIdentityRef const& Undefined();
46 // NOLINTEND
47};
Definition CompoundTag.h:18
Definition Objective.h:17
Definition ScoreboardIdentityRef.h:17
Definition Scoreboard.h:33
Definition serialize.h:11