10class IdentityDefinition {
13 enum class Type : uchar {
20 using PlayerNameResolver = ::std::function<::std::string
const&(
::ActorUniqueID)>;
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;
40 MCAPI IdentityDefinition(::IdentityDefinition&& o);
42 MCAPI IdentityDefinition(::IdentityDefinition
const& o);
44 MCFOLD ::ActorUniqueID
const& getEntityId()
const;
46 MCFOLD ::std::string
const& getFakePlayerName()
const;
48 MCFOLD ::IdentityDefinition::Type getIdentityType()
const;
50 MCAPI ::std::string
const&
51 getName(::std::function<::std::string
const&(
::ActorUniqueID)>
const& playerNameResolver)
const;
53 MCFOLD ::PlayerScoreboardId
const& getPlayerId()
const;
55 MCFOLD ::ScoreboardId
const& getScoreboardId()
const;
57 MCAPI
bool isEntityType()
const;
59 MCFOLD
bool isPlayerType()
const;
61 MCAPI
bool isValid()
const;
63 MCAPI ::IdentityDefinition& operator=(::IdentityDefinition&& o);
65 MCAPI ::IdentityDefinition& operator=(::IdentityDefinition
const& o);
67 MCAPI ~IdentityDefinition();
73 MCAPI
static bool isHiddenFakePlayerNameString(::std::string
const& name);
79 MCAPI static ::IdentityDefinition
const& Invalid();
85 MCAPI
void* $ctor(::IdentityDefinition&& o);
87 MCAPI
void* $ctor(::IdentityDefinition
const& o);