LeviLamina
Loading...
Searching...
No Matches
ScoreboardId.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
#include "mc/legacy/ActorUniqueID.h"
5
6
// auto generated forward declare list
7
// clang-format off
8
class
IdentityDefinition
;
9
// clang-format on
10
11
struct
ScoreboardId
{
12
public
:
13
// member variables
14
// NOLINTBEGIN
15
::ll::TypedStorage<8, 8, int64> mRawID;
16
::ll::TypedStorage<8, 8, ::IdentityDefinition*> mIdentityDef;
17
// NOLINTEND
18
19
public
:
20
bool
operator==(
ScoreboardId
const
& other)
const
{
return
mRawID == other.mRawID; }
21
22
public
:
23
// static variables
24
// NOLINTBEGIN
25
MCAPI static ::ScoreboardId& INVALID();
26
// NOLINTEND
27
};
28
29
namespace
std
{
30
template
<>
31
struct
hash<::
ScoreboardId
> {
32
size_t
operator()(
::ScoreboardId
const
&
id
)
const
noexcept
{
33
ActorUniqueID
uId{};
34
uId.rawID =
id
.mRawID;
35
return
uId.getHash();
36
}
37
};
38
}
// namespace std
IdentityDefinition
Definition
IdentityDefinition.h:10
std
STL namespace.
ActorUniqueID
Definition
ActorUniqueID.h:5
ScoreboardId
Definition
ScoreboardId.h:11
src-server
mc
world
scores
ScoreboardId.h
Generated on Wed Nov 5 2025 13:13:39 for LeviLamina by
1.12.0