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
9// clang-format on
10
12public:
13 // member variables
14 // NOLINTBEGIN
15 ::ll::TypedStorage<8, 8, int64> mRawID;
16 ::ll::TypedStorage<8, 8, ::IdentityDefinition*> mIdentityDef;
17 // NOLINTEND
18
19public:
20 bool operator==(ScoreboardId const& other) const { return mRawID == other.mRawID; }
21
22public:
23 // static variables
24 // NOLINTBEGIN
25 MCAPI static ::ScoreboardId& INVALID();
26 // NOLINTEND
27
28public:
29 // constructor thunks
30 // NOLINTBEGIN
31 MCAPI void* $ctor();
32
33 MCFOLD void* $ctor(int64 bytes);
34
35 MCFOLD void* $ctor(::ScoreboardId const& scoreboardId);
36 // NOLINTEND
37};
38
39namespace std {
40template <>
41struct hash<::ScoreboardId> {
42 size_t operator()(::ScoreboardId const& id) const noexcept {
43 ActorUniqueID uId{};
44 uId.rawID = id.mRawID;
45 return std::hash<ActorUniqueID>()(uId);
46 }
47};
48} // namespace std
Definition IdentityDefinition.h:10
STL namespace.
Definition ActorUniqueID.h:10
Definition ScoreboardId.h:11