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