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

Public Types

enum class  RotationStyle : int {
  None = 0 , Automatic = 1 , GestureX = 2 , CustomY = 3 ,
  CustomYHeadFollowMouse = 4 , Lerping = 5
}
enum class  RotationStyle : int {
  None = 0 , Automatic = 1 , GestureX = 2 , CustomY = 3 ,
  CustomYHeadFollowMouse = 4 , Lerping = 5
}

Public Member Functions

virtual ::std::shared_ptr<::UICustomRenderer > clone () const
virtual void render (::MinecraftUIRenderContext &renderContext, ::IClientInstance &client, ::UIControl &owner, int)
virtual bool update (::IClientInstance &client, ::UIControl &owner, ::UIScene const &scene)
MCAPI PaperDollRenderer ()
MCAPI PaperDollRenderer (::IPaperDollUIDefSource const &def)
MCAPI void _addAnimationIfNotRegistered (::std::shared_ptr<::ActorAnimationGroup > actorAnimationGroup, ::HashedString const &friendlyName)
MCAPI::AnimationComponent & _getAnimationComponent ()
MCAPI void _render (::IPaperDollRenderContext &context, ::PaperDollRenderOwnerData const &data, ::OffscreenCaptureDescription const *capture)
MCAPI void _update (::IPaperDollUpdateContext &context, ::PaperDollUpdateOwnerData const &data)
MCAPI void * $ctor ()
MCAPI void * $ctor (::IPaperDollUIDefSource const &def)
MCAPI ::std::shared_ptr<::UICustomRenderer > $clone () const
MCAPI void $render (::MinecraftUIRenderContext &renderContext, ::IClientInstance &client, ::UIControl &owner, int)
MCAPI bool $update (::IClientInstance &client, ::UIControl &owner, ::UIScene const &scene)
virtual void frameUpdate (::UIFrameUpdateContext &frameUpdateContext, ::UIControl &owner)
virtual void frameUpdate (::MinecraftUIFrameUpdateContext &, ::UIControl &)
virtual void render (::UIRenderContext &renderContext, ::IClientInstance &client, ::UIControl &owner, int pass)
virtual void preRenderSetup (::UIRenderContext &renderContext)
virtual void preRenderSetup (::MinecraftUIRenderContext &renderContext)
MCAPI void $frameUpdate (::UIFrameUpdateContext &frameUpdateContext, ::UIControl &owner)
MCAPI void $frameUpdate (::MinecraftUIFrameUpdateContext &, ::UIControl &)
MCAPI void $render (::UIRenderContext &renderContext, ::IClientInstance &client, ::UIControl &owner, int pass)
MCAPI void $preRenderSetup (::UIRenderContext &renderContext)
MCAPI void $preRenderSetup (::MinecraftUIRenderContext &renderContext)
virtual::UIBatchType getBatchType () const
virtual int getCustomId () const
virtual int getNumRenderPasses () const
virtual::ResourceLocation getResourceLocation (int textureSlot, int pass) const
virtual::UIMaterialType getUIMaterialType (int pass) const
virtual bool getRequiresPreRenderSetup (int pass) const
virtual void onVisibilityChanged (bool visible)
virtual void collectScreenEvents (::std::queue<::ScreenEvent, ::std::deque<::ScreenEvent > > &screenEvents)
virtual::UIItemRenderInfo getItemRenderInfo () const
MCAPI::UIBatchType $getBatchType () const
MCAPI int $getCustomId () const
MCAPI int $getNumRenderPasses () const
MCAPI::ResourceLocation $getResourceLocation (int textureSlot, int pass) const
MCAPI::UIMaterialType $getUIMaterialType (int pass) const
MCAPI bool $getRequiresPreRenderSetup (int pass) const
MCAPI void $onVisibilityChanged (bool visible)
MCAPI void $collectScreenEvents (::std::queue<::ScreenEvent, ::std::deque<::ScreenEvent > > &screenEvents)
MCAPI::UIItemRenderInfo $getItemRenderInfo () const

Static Public Member Functions

static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 4, 4, ::PaperDollRenderer::RotationStyle > mRotationStyle
::ll::TypedStorage< 4, 4, ::PaperDollRenderer::RotationStyle > mPreviousRotationStyle
::ll::TypedStorage< 1, 1, bool > mUseSelectedSkin
::ll::TypedStorage< 1, 1, bool > mUseSkinByName
::ll::TypedStorage< 4, 4, float > mDeltaTime
::ll::TypedStorage< 4, 4, float > mElapsedTime
::ll::TypedStorage< 4, 4, float > mRotation
::ll::TypedStorage< 4, 4, float > mTargetRotation
::ll::TypedStorage< 4, 4, float > mCameraTiltInDeg
::ll::TypedStorage< 4, 4, float > mRotationSpeedMultiplier
::ll::TypedStorage< 8, 32, ::std::string > mSkinName
::ll::TypedStorage< 8, 16, ::mce::UUID > mPaperDollPackId
::ll::TypedStorage< 8, 40, ::std::optional<::std::string > > mCoCoPieceId
::ll::TypedStorage< 8, 56, ::std::optional<::HashedString > > mCoCoEntityIdentifier
::ll::TypedStorage< 4, 4, int > mPaperDollSkinIdx
::ll::TypedStorage< 1, 1, bool > mWaitForSkinInitialize
::ll::TypedStorage< 1, 1, bool > mMarkLocalPlayerAsDirty
::ll::TypedStorage< 1, 1, bool > mShowPersonaCoCo
::ll::TypedStorage< 1, 1, bool > mShrinkToFit
::ll::TypedStorage< 8, 64, ::brstd::move_only_function< void(::std::string_view) const > > mRemoveSkin
::ll::TypedStorage< 8, 64, ::std::unordered_map<::HashedString, ::HashedString > > mParticleEffectsMap
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::AnimationComponent > > mAnimationComponent
::ll::TypedStorage< 8, 56, ::MolangVariableMap > mVariables
::ll::TypedStorage< 8, 8, ::std::chrono::steady_clock::time_point > mSkinLastUpdated
::ll::TypedStorage< 8, 64, ::std::unordered_map<::mce::UUID, ::SkinPackPin > > mPinnedPacks
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::PersonaCoCoPaperDollHost > > mCoCoHost
::ll::TypedStorage< 4, 4, float > mPropagatedAlpha

Constructor & Destructor Documentation

◆ PaperDollRenderer() [1/2]

MCAPI PaperDollRenderer::PaperDollRenderer ( )
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.

◆ PaperDollRenderer() [2/2]

MCAPI PaperDollRenderer::PaperDollRenderer ( ::IPaperDollUIDefSource const & def)
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.

Member Function Documentation

◆ clone()

virtual ::std::shared_ptr<::UICustomRenderer > PaperDollRenderer::clone ( ) const
virtual

Implements UICustomRenderer.

◆ render() [1/2]

virtual void PaperDollRenderer::render ( ::MinecraftUIRenderContext & renderContext,
::IClientInstance & client,
::UIControl & owner,
int  )
virtual

◆ update()

virtual bool PaperDollRenderer::update ( ::IClientInstance & client,
::UIControl & owner,
::UIScene const & scene )
virtual

Reimplemented from UICustomRenderer.

◆ _addAnimationIfNotRegistered()

MCAPI void PaperDollRenderer::_addAnimationIfNotRegistered ( ::std::shared_ptr<::ActorAnimationGroup > actorAnimationGroup,
::HashedString const & friendlyName )
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.

◆ _getAnimationComponent()

MCAPI::AnimationComponent & PaperDollRenderer::_getAnimationComponent ( )
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.

◆ _render()

MCAPI void PaperDollRenderer::_render ( ::IPaperDollRenderContext & context,
::PaperDollRenderOwnerData const & data,
::OffscreenCaptureDescription const * capture )
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 PaperDollRenderer::_update ( ::IPaperDollUpdateContext & context,
::PaperDollUpdateOwnerData const & data )
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/2]

MCAPI void * PaperDollRenderer::$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/2]

MCAPI void * PaperDollRenderer::$ctor ( ::IPaperDollUIDefSource const & def)
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.

◆ $clone()

MCAPI ::std::shared_ptr<::UICustomRenderer > PaperDollRenderer::$clone ( ) 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.

◆ $update()

MCAPI bool PaperDollRenderer::$update ( ::IClientInstance & client,
::UIControl & owner,
::UIScene const & scene )
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.

◆ frameUpdate()

virtual void MinecraftUICustomRenderer::frameUpdate ( ::UIFrameUpdateContext & frameUpdateContext,
::UIControl & owner )
virtualinherited

Implements UICustomRenderer.

◆ render() [2/2]

virtual void MinecraftUICustomRenderer::render ( ::UIRenderContext & renderContext,
::IClientInstance & client,
::UIControl & owner,
int pass )
virtualinherited

Implements UICustomRenderer.

◆ preRenderSetup()

virtual void MinecraftUICustomRenderer::preRenderSetup ( ::UIRenderContext & renderContext)
virtualinherited

Reimplemented from UICustomRenderer.

◆ $frameUpdate() [1/2]

MCAPI void MinecraftUICustomRenderer::$frameUpdate ( ::UIFrameUpdateContext & frameUpdateContext,
::UIControl & owner )
inherited
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.

◆ $frameUpdate() [2/2]

MCAPI void MinecraftUICustomRenderer::$frameUpdate ( ::MinecraftUIFrameUpdateContext & ,
::UIControl &  )
inherited
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.

◆ $render()

MCAPI void MinecraftUICustomRenderer::$render ( ::UIRenderContext & renderContext,
::IClientInstance & client,
::UIControl & owner,
int pass )
inherited
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.

◆ $preRenderSetup() [1/2]

MCAPI void MinecraftUICustomRenderer::$preRenderSetup ( ::UIRenderContext & renderContext)
inherited
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.

◆ $preRenderSetup() [2/2]

MCAPI void MinecraftUICustomRenderer::$preRenderSetup ( ::MinecraftUIRenderContext & renderContext)
inherited
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 ** MinecraftUICustomRenderer::$vftable ( )
staticinherited
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.

◆ $getBatchType()

MCAPI::UIBatchType UICustomRenderer::$getBatchType ( ) const
inherited
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.

◆ $getCustomId()

MCAPI int UICustomRenderer::$getCustomId ( ) const
inherited
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.

◆ $getNumRenderPasses()

MCAPI int UICustomRenderer::$getNumRenderPasses ( ) const
inherited
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.

◆ $getResourceLocation()

MCAPI::ResourceLocation UICustomRenderer::$getResourceLocation ( int textureSlot,
int pass ) const
inherited
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.

◆ $getUIMaterialType()

MCAPI::UIMaterialType UICustomRenderer::$getUIMaterialType ( int pass) const
inherited
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.

◆ $getRequiresPreRenderSetup()

MCAPI bool UICustomRenderer::$getRequiresPreRenderSetup ( int pass) const
inherited
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.

◆ $onVisibilityChanged()

MCAPI void UICustomRenderer::$onVisibilityChanged ( bool visible)
inherited
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.

◆ $collectScreenEvents()

MCAPI void UICustomRenderer::$collectScreenEvents ( ::std::queue<::ScreenEvent, ::std::deque<::ScreenEvent > > & screenEvents)
inherited
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.

◆ $getItemRenderInfo()

MCAPI::UIItemRenderInfo UICustomRenderer::$getItemRenderInfo ( ) const
inherited
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: