LeviLamina
Loading...
Searching...
No Matches
PlayerScoreboardId.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
#include "mc/legacy/ActorUniqueID.h"
5
6
struct
PlayerScoreboardId
{
7
public
:
8
// member variables
9
// NOLINTBEGIN
10
::ll::TypedStorage<8, 8, int64> mActorUniqueId;
11
// NOLINTEND
12
13
public
:
14
bool
operator==(
PlayerScoreboardId
const
& rhs)
const
{
return
mActorUniqueId == rhs.mActorUniqueId; }
15
16
public
:
17
// static variables
18
// NOLINTBEGIN
19
MCAPI static ::PlayerScoreboardId
const
& INVALID();
20
// NOLINTEND
21
};
22
23
namespace
std
{
24
template
<>
25
struct
hash<
PlayerScoreboardId
> {
26
size_t
operator()(
PlayerScoreboardId
const
& d)
const
noexcept
{
27
return
hash<ActorUniqueID>()(
ActorUniqueID
{d.mActorUniqueId});
28
}
29
};
30
}
// namespace std
std
STL namespace.
ActorUniqueID
Definition
ActorUniqueID.h:5
PlayerScoreboardId
Definition
PlayerScoreboardId.h:6
src
mc
world
scores
PlayerScoreboardId.h
Generated on Wed Jul 23 2025 08:35:01 for LeviLamina by
1.12.0