Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
PersonaScreenModelCommon Class Reference
Inheritance diagram for PersonaScreenModelCommon:

Public Types

using ColorInfo = ::persona::color::ColorInfo

Public Member Functions

PersonaScreenModelCommon & operator= (PersonaScreenModelCommon const &)
 PersonaScreenModelCommon (PersonaScreenModelCommon const &)
virtual void update (::ui::DirtyFlag &dirtyFlags)
virtual void updateSkin (::persona::PersonaCharacterHandle const &characterHandle, ::SkinHandle handle)
MCAPI PersonaScreenModelCommon (::IMinecraftGame &minecraft, ::Bedrock::NotNullNonOwnerPtr<::IClientInstance > const &client)
MCAPI ::std::function< void(bool)> _getNormalPersonaChangedCallback (::persona::PersonaCharacterHandle const &handle, ::std::function< void(bool)> finalCallback)
MCAPI void attemptCopyValidActiveAppearanceToCurrentCharacter (::std::function< void(bool)> callback)
MCAPI void changePersonaArmSize (::persona::PersonaCharacterHandle const &handle, ::SharedTypes::persona::ArmSizeType const &armSize, ::std::function< void(bool)> callback)
MCAPI void changePersonaEmote (::persona::PersonaCharacterHandle const &handle, ::std::string const &pieceId, ::persona::FreeItemState const &freeItemState, int emoteWheelSlot, ::std::function< void(bool)> callback)
MCAPI void changePersonaHeight (::persona::PersonaCharacterHandle const &handle, ::SharedTypes::persona::BodySizeType const &bodyType, ::std::function< void(bool)> callback)
MCAPI void changePersonaPiece (::persona::PersonaCharacterHandle const &handle, ::SharedTypes::persona::PieceType pieceType, ::mce::UUID const &pieceId, ::std::string const &productId, ::persona::FreeItemState const &freeItemState, ::std::function< void(bool)> callback, ::SharedTypes::persona::PieceSide side)
MCAPI void changePersonaTintColor (::persona::PersonaCharacterHandle const &handle, ::SharedTypes::persona::PieceType pieceType, ::mce::Color const &color, ushort channel, ::std::function< void(bool)> callback)
MCAPI void changePersonaTintColors (::persona::PersonaCharacterHandle const &handle, ::SharedTypes::persona::PieceType pieceType, ::std::vector<::persona::color::ColorInfo > const &tintColors, ::std::function< void(bool)> callback)
MCAPI bool createActivePersonaFromCurrentCharacter (::std::function< void(bool)> callback)
MCAPI void fireEventPersonaAvatarUpdated (::PersonaAppearance const &oldAppearance, bool isBeingDeleted)
MCAPI::persona::PieceOfferWrapper getEmotePieceOfferFromAppearance (::persona::PersonaCharacterHandle const &handle, int emoteIndex)
MCAPI::SkinHandle getPersonaClassicSkinHandle (::persona::PersonaCharacterHandle const &handle)
MCAPI::SkinHandle getPersonaSkinHandle (::persona::PersonaCharacterHandle const &handle)
MCAPI::mce::Color getTintColor (::persona::PersonaCharacterHandle const &handle, ::SharedTypes::persona::PieceType type, int channel)
MCAPI bool isEmoteSlotSetOnCurrentAppearance (int emoteWheelSlot)
MCAPI void removePieceByType (::persona::PersonaCharacterHandle const &handle, ::SharedTypes::persona::PieceType const &pieceTypeToRemove, ::std::function< void(bool)> callback, ::SharedTypes::persona::PieceSide side)
MCAPI void revertPersona (::persona::PersonaCharacterHandle const &characterHandle, ::std::function< void(bool)> callback)
MCAPI void saveCurrentCharacterPersona ()
MCAPI void savePersona (::persona::PersonaCharacterHandle const &characterHandle)
MCAPI void updatePreviewedItem (::PreviewedItemEventInformation previewedItemEventInfo)
MCAPI void * $ctor (::IMinecraftGame &minecraft, ::Bedrock::NotNullNonOwnerPtr<::IClientInstance > const &client)
MCAPI void $update (::ui::DirtyFlag &dirtyFlags)
MCAPI void $updateSkin (::persona::PersonaCharacterHandle const &characterHandle, ::SkinHandle handle)

Static Public Member Functions

static MCAPI ::std::vector<::mce::UUID > const & mBuiltInSkinPackIds ()

Public Attributes

::ll::TypedStorage< 8, 8, ::IMinecraftGame & > mMinecraft
::ll::TypedStorage< 8, 24, ::Bedrock::NotNullNonOwnerPtr<::IClientInstance > > mClient
::ll::TypedStorage< 8, 8, ::PersonaClient & > mSkinRepoClientInterface
::ll::TypedStorage< 8, 8, ::IMinecraftEventing & > mEventing
::ll::TypedStorage< 8, 152, ::PreviewedItemEventInformation > mPreviewedItemInfo
::ll::TypedStorage< 8, 8, int64 > mNextPossibleEventTime
::ll::TypedStorage< 1, 1, bool > mIsCurrentSkinPackOwned
::ll::TypedStorage< 8, 16, ::std::shared_ptr< bool > > mExistanceTracker
::ll::TypedStorage< 8, 40, ::persona::PersonaCharacterHandle > mActiveCharacterHandle
::ll::TypedStorage< 1, 1, bool > mActiveCharacterInitialized
::ll::TypedStorage< 1, 1, bool > mWaitingForNewPersona

Constructor & Destructor Documentation

◆ PersonaScreenModelCommon()

MCAPI PersonaScreenModelCommon::PersonaScreenModelCommon ( ::IMinecraftGame & minecraft,
::Bedrock::NotNullNonOwnerPtr<::IClientInstance > const & client )
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

◆ _getNormalPersonaChangedCallback()

MCAPI ::std::function< void(bool)> PersonaScreenModelCommon::_getNormalPersonaChangedCallback ( ::persona::PersonaCharacterHandle const & handle,
::std::function< void(bool)> finalCallback )
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.

◆ attemptCopyValidActiveAppearanceToCurrentCharacter()

MCAPI void PersonaScreenModelCommon::attemptCopyValidActiveAppearanceToCurrentCharacter ( ::std::function< void(bool)> callback)
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.

◆ changePersonaArmSize()

MCAPI void PersonaScreenModelCommon::changePersonaArmSize ( ::persona::PersonaCharacterHandle const & handle,
::SharedTypes::persona::ArmSizeType const & armSize,
::std::function< void(bool)> callback )
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.

◆ changePersonaEmote()

MCAPI void PersonaScreenModelCommon::changePersonaEmote ( ::persona::PersonaCharacterHandle const & handle,
::std::string const & pieceId,
::persona::FreeItemState const & freeItemState,
int emoteWheelSlot,
::std::function< void(bool)> callback )
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.

◆ changePersonaHeight()

MCAPI void PersonaScreenModelCommon::changePersonaHeight ( ::persona::PersonaCharacterHandle const & handle,
::SharedTypes::persona::BodySizeType const & bodyType,
::std::function< void(bool)> callback )
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.

◆ changePersonaPiece()

MCAPI void PersonaScreenModelCommon::changePersonaPiece ( ::persona::PersonaCharacterHandle const & handle,
::SharedTypes::persona::PieceType pieceType,
::mce::UUID const & pieceId,
::std::string const & productId,
::persona::FreeItemState const & freeItemState,
::std::function< void(bool)> callback,
::SharedTypes::persona::PieceSide side )
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.

◆ changePersonaTintColor()

MCAPI void PersonaScreenModelCommon::changePersonaTintColor ( ::persona::PersonaCharacterHandle const & handle,
::SharedTypes::persona::PieceType pieceType,
::mce::Color const & color,
ushort channel,
::std::function< void(bool)> callback )
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.

◆ changePersonaTintColors()

MCAPI void PersonaScreenModelCommon::changePersonaTintColors ( ::persona::PersonaCharacterHandle const & handle,
::SharedTypes::persona::PieceType pieceType,
::std::vector<::persona::color::ColorInfo > const & tintColors,
::std::function< void(bool)> callback )
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.

◆ createActivePersonaFromCurrentCharacter()

MCAPI bool PersonaScreenModelCommon::createActivePersonaFromCurrentCharacter ( ::std::function< void(bool)> callback)
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.

◆ fireEventPersonaAvatarUpdated()

MCAPI void PersonaScreenModelCommon::fireEventPersonaAvatarUpdated ( ::PersonaAppearance const & oldAppearance,
bool isBeingDeleted )
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.

◆ getEmotePieceOfferFromAppearance()

MCAPI::persona::PieceOfferWrapper PersonaScreenModelCommon::getEmotePieceOfferFromAppearance ( ::persona::PersonaCharacterHandle const & handle,
int emoteIndex )
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.

◆ getPersonaClassicSkinHandle()

MCAPI::SkinHandle PersonaScreenModelCommon::getPersonaClassicSkinHandle ( ::persona::PersonaCharacterHandle const & handle)
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.

◆ getPersonaSkinHandle()

MCAPI::SkinHandle PersonaScreenModelCommon::getPersonaSkinHandle ( ::persona::PersonaCharacterHandle const & handle)
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.

◆ getTintColor()

MCAPI::mce::Color PersonaScreenModelCommon::getTintColor ( ::persona::PersonaCharacterHandle const & handle,
::SharedTypes::persona::PieceType type,
int 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.

◆ isEmoteSlotSetOnCurrentAppearance()

MCAPI bool PersonaScreenModelCommon::isEmoteSlotSetOnCurrentAppearance ( int emoteWheelSlot)
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.

◆ removePieceByType()

MCAPI void PersonaScreenModelCommon::removePieceByType ( ::persona::PersonaCharacterHandle const & handle,
::SharedTypes::persona::PieceType const & pieceTypeToRemove,
::std::function< void(bool)> callback,
::SharedTypes::persona::PieceSide side )
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.

◆ revertPersona()

MCAPI void PersonaScreenModelCommon::revertPersona ( ::persona::PersonaCharacterHandle const & characterHandle,
::std::function< void(bool)> callback )
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.

◆ saveCurrentCharacterPersona()

MCAPI void PersonaScreenModelCommon::saveCurrentCharacterPersona ( )
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.

◆ savePersona()

MCAPI void PersonaScreenModelCommon::savePersona ( ::persona::PersonaCharacterHandle const & characterHandle)
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.

◆ updatePreviewedItem()

MCAPI void PersonaScreenModelCommon::updatePreviewedItem ( ::PreviewedItemEventInformation previewedItemEventInfo)
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.

◆ mBuiltInSkinPackIds()

MCAPI ::std::vector<::mce::UUID > const & PersonaScreenModelCommon::mBuiltInSkinPackIds ( )
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()

MCAPI void * PersonaScreenModelCommon::$ctor ( ::IMinecraftGame & minecraft,
::Bedrock::NotNullNonOwnerPtr<::IClientInstance > const & client )
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.

◆ $update()

MCAPI void PersonaScreenModelCommon::$update ( ::ui::DirtyFlag & dirtyFlags)
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.

◆ $updateSkin()

MCAPI void PersonaScreenModelCommon::$updateSkin ( ::persona::PersonaCharacterHandle const & characterHandle,
::SkinHandle handle )
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: