LeviLamina
Loading...
Searching...
No Matches
IdentityDefinition.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
11public:
12 // IdentityDefinition inner types define
13 enum class Type : uchar {
14 Invalid = 0,
15 Player = 1,
16 Entity = 2,
17 FakePlayer = 3,
18 };
19
20 using PlayerNameResolver = ::std::function<::std::string const&(::ActorUniqueID)>;
21
22public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<8, 16, ::ScoreboardId> mScoreboardId;
26 ::ll::TypedStorage<1, 1, bool> mIsHiddenFakePlayer;
27 ::ll::TypedStorage<8, 8, ::PlayerScoreboardId> mPlayerId;
28 ::ll::TypedStorage<8, 8, ::ActorUniqueID> mEntityId;
29 ::ll::TypedStorage<8, 32, ::std::string> mPlayerName;
30 ::ll::TypedStorage<1, 1, ::IdentityDefinition::Type> mIdentityType;
31 // NOLINTEND
32
33public:
34 // member functions
35 // NOLINTBEGIN
36 MCAPI ::std::string const&
37 getName(::std::function<::std::string const&(::ActorUniqueID)> const& playerNameResolver) const;
38
39 MCAPI ~IdentityDefinition();
40 // NOLINTEND
41
42public:
43 // static variables
44 // NOLINTBEGIN
45 MCAPI static ::IdentityDefinition const& Invalid();
46 // NOLINTEND
47
48public:
49 // destructor thunk
50 // NOLINTBEGIN
51 MCFOLD void $dtor();
52 // NOLINTEND
53};
Definition IdentityDefinition.h:10
Definition Player.h:119
Definition ActorUniqueID.h:5