LeviLamina
Loading...
Searching...
No Matches
IdentityDefinition Class Reference

Public Types

enum class  Type : uchar { Invalid = 0 , Player = 1 , Entity = 2 , FakePlayer = 3 }
using PlayerNameResolver = ::std::function<::std::string const&(::ActorUniqueID)>

Public Member Functions

MCAPI IdentityDefinition (::IdentityDefinition &&o)
MCAPI IdentityDefinition (::IdentityDefinition const &o)
MCFOLD::ActorUniqueID const & getEntityId () const
MCFOLD::std::string const & getFakePlayerName () const
MCFOLD::IdentityDefinition::Type getIdentityType () const
MCAPI::std::string const & getName (::std::function<::std::string const &(::ActorUniqueID)> const &playerNameResolver) const
MCFOLD::PlayerScoreboardId const & getPlayerId () const
MCFOLD::ScoreboardId const & getScoreboardId () const
MCAPI bool isEntityType () const
MCFOLD bool isPlayerType () const
MCAPI bool isValid () const
MCAPI::IdentityDefinition & operator= (::IdentityDefinition &&o)
MCAPI::IdentityDefinition & operator= (::IdentityDefinition const &o)
MCAPI void * $ctor (::IdentityDefinition &&o)
MCAPI void * $ctor (::IdentityDefinition const &o)
MCFOLD void $dtor ()

Static Public Member Functions

static MCAPI bool isHiddenFakePlayerNameString (::std::string const &name)
static MCAPI ::IdentityDefinition const & Invalid ()

Public Attributes

::ll::TypedStorage< 8, 16, ::ScoreboardIdmScoreboardId
::ll::TypedStorage< 1, 1, bool > mIsHiddenFakePlayer
::ll::TypedStorage< 8, 8, ::PlayerScoreboardIdmPlayerId
::ll::TypedStorage< 8, 8, ::ActorUniqueIDmEntityId
::ll::TypedStorage< 8, 32, ::std::string > mPlayerName
::ll::TypedStorage< 1, 1, ::IdentityDefinition::Type > mIdentityType

The documentation for this class was generated from the following file: