LeviLamina
Loading...
Searching...
No Matches
IdentityDictionary.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/legacy/ActorUniqueID.h"
7#include "mc/world/scores/PlayerScoreboardId.h"
8#include "mc/world/scores/ScoreboardId.h"
9
10// auto generated forward declare list
11// clang-format off
13// clang-format on
14
15class IdentityDictionary {
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<8, 64, ::std::unordered_map<::PlayerScoreboardId, ::ScoreboardId>> mPlayers;
20 ::ll::TypedStorage<8, 64, ::std::unordered_map<::ActorUniqueID, ::ScoreboardId>> mEntities;
21 ::ll::TypedStorage<8, 64, ::std::unordered_map<::std::string, ::ScoreboardId>> mFakes;
22 ::ll::TypedStorage<8, 64, ::std::unordered_map<::ScoreboardId, ::IdentityDefinition>> mIdentityDefs;
23 // NOLINTEND
24
25public:
26 // member functions
27 // NOLINTBEGIN
28 MCAPI IdentityDictionary();
29
30 MCAPI bool clearIdentity(::ScoreboardId const& scoreboardId);
31
32 MCAPI ::ScoreboardId const&
33 convertFakeToReal(::ScoreboardId const& scoreboardId, ::PlayerScoreboardId const& playerId);
34
35 MCAPI ~IdentityDictionary();
36 // NOLINTEND
37
38public:
39 // constructor thunks
40 // NOLINTBEGIN
41 MCAPI void* $ctor();
42 // NOLINTEND
43
44public:
45 // destructor thunk
46 // NOLINTBEGIN
47 MCAPI void $dtor();
48 // NOLINTEND
49};
Definition IdentityDefinition.h:10
Definition PlayerScoreboardId.h:6
Definition ScoreboardId.h:11