Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
PersonaAppearance Class Reference

Public Types

enum class  EmoteWheelIndicie : int
enum class  EmoteWheelIndicie : int
using ArmSizeType = ::SharedTypes::persona::ArmSizeType
using EmoteWheel = ::std::array<::persona::PieceHandle, 4>
using PieceTintMap = ::std::unordered_map<::SharedTypes::persona::PieceType, ::TintMapColor>
using PieceVector = ::std::vector<::persona::PieceHandle>

Public Member Functions

MCAPI PersonaAppearance ()
MCAPI PersonaAppearance (::persona::PieceHandle &&legacyPiece)
MCAPI PersonaAppearance (::PersonaAppearance const &other)
MCAPI PersonaAppearance (::PersonaAppearance &&rhs)
MCAPI PersonaAppearance (::std::vector<::persona::PieceHandle > const &pieceList, ::std::unordered_map<::SharedTypes::persona::PieceType, ::TintMapColor > const &tintMap, ::mce::Color const &skinColor, ::SharedTypes::persona::ArmSizeType const &armSizeType)
MCAPI PersonaAppearance (::std::vector<::persona::PieceHandle > const &pieceList, ::std::unordered_map<::SharedTypes::persona::PieceType, ::TintMapColor > const &tintMap, ::mce::Color const &skinColor, ::SharedTypes::persona::ArmSizeType const &armSizeType, ::std::array<::persona::PieceHandle, 4 > const &emoteWheel)
MCAPI bool _doesSerializedPieceContainFlag (::Json::Value const &serializedPiece, char const flagToCheckFor) const
MCAPI::std::string _getSerializedPieceIdNoFlags (::Json::Value const &serializedPiece)
MCAPI bool _hasEmote (::std::string const &pieceId) const
MCAPI void _preHandleSettingPiece (::SharedTypes::persona::PieceType pieceTypeBeingSet)
MCAPI void copyEquivalentGroupFrom (::PersonaAppearance const &source, ::SharedTypes::persona::PieceType pieceType)
MCAPI bool fillFromJSON (::SemVersion const &version, ::Json::Value const &appearanceInfo)
MCAPI bool getAllowUnownedPieces () const
MCAPI int getEmoteWheelIndex (::std::string const &pieceId) const
MCAPI::persona::PieceHandle const & getEquivalentPiece (::SharedTypes::persona::PieceType pieceType) const
MCAPI::persona::PieceHandle const & getPiece (::std::string const &pieceId) const
MCAPI::persona::PieceHandle const & getPiece (::SharedTypes::persona::PieceType pieceType) const
MCAPI bool isAnyEmoteSlotSet () const
MCAPI bool isEmoteWheelEqual (::PersonaAppearance const &rhs) const
MCAPI bool isPhysicalTraitEqual (::PersonaAppearance const &rhs) const
MCAPI bool isPieceVectorEqual (::PersonaAppearance const &rhs) const
MCAPI bool isPieceVectorExcludingClassicSkinEqual (::PersonaAppearance const &rhs) const
MCAPI bool isTintEqual (::PersonaAppearance const &rhs) const
MCAPI::PersonaAppearance & operator= (::PersonaAppearance const &rhs)
MCAPI::PersonaAppearance & operator= (::PersonaAppearance &&rhs)
MCAPI bool removeEmotesWithId (::std::string const &emoteId)
MCAPI void removeEquivalentPieces (::SharedTypes::persona::PieceType pieceType)
MCAPI void setCustomSkinEncoded (::std::string &&encodedSkin)
MCAPI void setEmote (int emoteWheelSlot, ::persona::PieceHandle const &newEmote)
MCAPI void setPiece (::persona::PieceHandle const &newPiece)
MCAPI void setTintMapColor (::SharedTypes::persona::PieceType pieceType, ::mce::Color const &color, ushort channel)
MCAPI::Json::Value toJSONObject (bool allowInvalid, bool includeUnsupported) const
MCAPI void * $ctor ()
MCAPI void * $ctor (::persona::PieceHandle &&legacyPiece)
MCAPI void * $ctor (::PersonaAppearance const &other)
MCAPI void * $ctor (::PersonaAppearance &&rhs)
MCAPI void * $ctor (::std::vector<::persona::PieceHandle > const &pieceList, ::std::unordered_map<::SharedTypes::persona::PieceType, ::TintMapColor > const &tintMap, ::mce::Color const &skinColor, ::SharedTypes::persona::ArmSizeType const &armSizeType)
MCAPI void * $ctor (::std::vector<::persona::PieceHandle > const &pieceList, ::std::unordered_map<::SharedTypes::persona::PieceType, ::TintMapColor > const &tintMap, ::mce::Color const &skinColor, ::SharedTypes::persona::ArmSizeType const &armSizeType, ::std::array<::persona::PieceHandle, 4 > const &emoteWheel)
MCAPI void $dtor ()

Static Public Member Functions

static MCAPI bool _isSerializedPieceEmpty (::Json::Value const &serializedPiece)
static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 24, ::std::vector<::persona::PieceHandle > > mPieceVector
::ll::TypedStorage< 8, 24, ::std::vector<::std::string > > mUnsupportedPieces
::ll::TypedStorage< 8, 864, ::std::array<::persona::PieceHandle, 4 > > mEmoteWheel
::ll::TypedStorage< 1, 1, ::SharedTypes::persona::ArmSizeType > mArmSizeType
::ll::TypedStorage< 1, 1, ::SharedTypes::persona::ArmSizeType > mCustomSkinArmSize
::ll::TypedStorage< 8, 64, ::std::unordered_map<::SharedTypes::persona::PieceType, ::TintMapColor > > mPieceTintColors
::ll::TypedStorage< 4, 16, ::mce::Color > mSkinColor
::ll::TypedStorage< 8, 32, ::std::string > mEncodedClassicSkinImage
::ll::TypedStorage< 8, 32, ::std::string > mSerializedLockedClassicSkin
::ll::TypedStorage< 1, 1, bool > mUseClassicSkin
::ll::TypedStorage< 1, 1, bool > mAllowUnownedPieces
::ll::TypedStorage< 1, 1, bool > mSaveSerializedLockedClassicSkin
::ll::TypedStorage< 1, 1, bool > mSaveSerializedUseClassicSkin
::ll::TypedStorage< 1, 1, bool > mSerializedUseClassicSkin

Constructor & Destructor Documentation

◆ PersonaAppearance() [1/6]

MCAPI PersonaAppearance::PersonaAppearance ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ PersonaAppearance() [2/6]

MCAPI PersonaAppearance::PersonaAppearance ( ::persona::PieceHandle && legacyPiece)
explicit
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ PersonaAppearance() [3/6]

MCAPI PersonaAppearance::PersonaAppearance ( ::PersonaAppearance const & other)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ PersonaAppearance() [4/6]

MCAPI PersonaAppearance::PersonaAppearance ( ::PersonaAppearance && rhs)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ PersonaAppearance() [5/6]

MCAPI PersonaAppearance::PersonaAppearance ( ::std::vector<::persona::PieceHandle > const & pieceList,
::std::unordered_map<::SharedTypes::persona::PieceType, ::TintMapColor > const & tintMap,
::mce::Color const & skinColor,
::SharedTypes::persona::ArmSizeType const & armSizeType )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ PersonaAppearance() [6/6]

MCAPI PersonaAppearance::PersonaAppearance ( ::std::vector<::persona::PieceHandle > const & pieceList,
::std::unordered_map<::SharedTypes::persona::PieceType, ::TintMapColor > const & tintMap,
::mce::Color const & skinColor,
::SharedTypes::persona::ArmSizeType const & armSizeType,
::std::array<::persona::PieceHandle, 4 > const & emoteWheel )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

Member Function Documentation

◆ _doesSerializedPieceContainFlag()

MCAPI bool PersonaAppearance::_doesSerializedPieceContainFlag ( ::Json::Value const & serializedPiece,
char const flagToCheckFor ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _getSerializedPieceIdNoFlags()

MCAPI::std::string PersonaAppearance::_getSerializedPieceIdNoFlags ( ::Json::Value const & serializedPiece)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _hasEmote()

MCAPI bool PersonaAppearance::_hasEmote ( ::std::string const & pieceId) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _preHandleSettingPiece()

MCAPI void PersonaAppearance::_preHandleSettingPiece ( ::SharedTypes::persona::PieceType pieceTypeBeingSet)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ copyEquivalentGroupFrom()

MCAPI void PersonaAppearance::copyEquivalentGroupFrom ( ::PersonaAppearance const & source,
::SharedTypes::persona::PieceType pieceType )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ fillFromJSON()

MCAPI bool PersonaAppearance::fillFromJSON ( ::SemVersion const & version,
::Json::Value const & appearanceInfo )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ getAllowUnownedPieces()

MCAPI bool PersonaAppearance::getAllowUnownedPieces ( ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ getEmoteWheelIndex()

MCAPI int PersonaAppearance::getEmoteWheelIndex ( ::std::string const & pieceId) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ getEquivalentPiece()

MCAPI::persona::PieceHandle const & PersonaAppearance::getEquivalentPiece ( ::SharedTypes::persona::PieceType pieceType) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ getPiece() [1/2]

MCAPI::persona::PieceHandle const & PersonaAppearance::getPiece ( ::std::string const & pieceId) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ getPiece() [2/2]

MCAPI::persona::PieceHandle const & PersonaAppearance::getPiece ( ::SharedTypes::persona::PieceType pieceType) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ isAnyEmoteSlotSet()

MCAPI bool PersonaAppearance::isAnyEmoteSlotSet ( ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ isEmoteWheelEqual()

MCAPI bool PersonaAppearance::isEmoteWheelEqual ( ::PersonaAppearance const & rhs) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ isPhysicalTraitEqual()

MCAPI bool PersonaAppearance::isPhysicalTraitEqual ( ::PersonaAppearance const & rhs) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ isPieceVectorEqual()

MCAPI bool PersonaAppearance::isPieceVectorEqual ( ::PersonaAppearance const & rhs) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ isPieceVectorExcludingClassicSkinEqual()

MCAPI bool PersonaAppearance::isPieceVectorExcludingClassicSkinEqual ( ::PersonaAppearance const & rhs) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ isTintEqual()

MCAPI bool PersonaAppearance::isTintEqual ( ::PersonaAppearance const & rhs) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ operator=() [1/2]

MCAPI::PersonaAppearance & PersonaAppearance::operator= ( ::PersonaAppearance const & rhs)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ operator=() [2/2]

MCAPI::PersonaAppearance & PersonaAppearance::operator= ( ::PersonaAppearance && rhs)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ removeEmotesWithId()

MCAPI bool PersonaAppearance::removeEmotesWithId ( ::std::string const & emoteId)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ removeEquivalentPieces()

MCAPI void PersonaAppearance::removeEquivalentPieces ( ::SharedTypes::persona::PieceType pieceType)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ setCustomSkinEncoded()

MCAPI void PersonaAppearance::setCustomSkinEncoded ( ::std::string && encodedSkin)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ setEmote()

MCAPI void PersonaAppearance::setEmote ( int emoteWheelSlot,
::persona::PieceHandle const & newEmote )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ setPiece()

MCAPI void PersonaAppearance::setPiece ( ::persona::PieceHandle const & newPiece)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ setTintMapColor()

MCAPI void PersonaAppearance::setTintMapColor ( ::SharedTypes::persona::PieceType pieceType,
::mce::Color const & color,
ushort channel )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ toJSONObject()

MCAPI::Json::Value PersonaAppearance::toJSONObject ( bool allowInvalid,
bool includeUnsupported ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _isSerializedPieceEmpty()

MCAPI bool PersonaAppearance::_isSerializedPieceEmpty ( ::Json::Value const & serializedPiece)
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $ctor() [1/6]

MCAPI void * PersonaAppearance::$ctor ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $ctor() [2/6]

MCAPI void * PersonaAppearance::$ctor ( ::persona::PieceHandle && legacyPiece)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $ctor() [3/6]

MCAPI void * PersonaAppearance::$ctor ( ::PersonaAppearance const & other)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $ctor() [4/6]

MCAPI void * PersonaAppearance::$ctor ( ::PersonaAppearance && rhs)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $ctor() [5/6]

MCAPI void * PersonaAppearance::$ctor ( ::std::vector<::persona::PieceHandle > const & pieceList,
::std::unordered_map<::SharedTypes::persona::PieceType, ::TintMapColor > const & tintMap,
::mce::Color const & skinColor,
::SharedTypes::persona::ArmSizeType const & armSizeType )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $ctor() [6/6]

MCAPI void * PersonaAppearance::$ctor ( ::std::vector<::persona::PieceHandle > const & pieceList,
::std::unordered_map<::SharedTypes::persona::PieceType, ::TintMapColor > const & tintMap,
::mce::Color const & skinColor,
::SharedTypes::persona::ArmSizeType const & armSizeType,
::std::array<::persona::PieceHandle, 4 > const & emoteWheel )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $dtor()

MCAPI void PersonaAppearance::$dtor ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $vftable()

MCAPI void ** PersonaAppearance::$vftable ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

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