LeviLamina
Loading...
Searching...
No Matches
HudHeartRenderer Class Reference
Inheritance diagram for HudHeartRenderer:

Classes

struct  SanitizedHealthData
struct  HeartIconData

Public Types

enum class  HeartType : int {
  Background = 0 , BackgroundBlink = 1 , Full = 2 , FullPoison = 3 ,
  FullWither = 4 , FullFrozen = 5 , FullFlash = 6 , FullPoisonFlash = 7 ,
  FullWitherFlash = 8 , FullFrozenFlash = 9 , Half = 10 , HalfPoison = 11 ,
  HalfWither = 12 , HalfFrozen = 13 , HalfFlash = 14 , HalfPoisonFlash = 15 ,
  HalfWitherFlash = 16 , HalfFrozenFlash = 17 , FullAbsorption = 18 , HalfAbsorption = 19 ,
  Count = 20
}
enum class  HeartType : int {
  Background = 0 , BackgroundBlink = 1 , Full = 2 , FullPoison = 3 ,
  FullWither = 4 , FullFrozen = 5 , FullFlash = 6 , FullPoisonFlash = 7 ,
  FullWitherFlash = 8 , FullFrozenFlash = 9 , Half = 10 , HalfPoison = 11 ,
  HalfWither = 12 , HalfFrozen = 13 , HalfFlash = 14 , HalfPoisonFlash = 15 ,
  HalfWitherFlash = 16 , HalfFrozenFlash = 17 , FullAbsorption = 18 , HalfAbsorption = 19 ,
  Count = 20
}

Public Member Functions

virtual ::std::shared_ptr<::UICustomRendererclone () const
virtual void render (::MinecraftUIRenderContext &renderContext, ::IClientInstance &, ::UIControl &owner, int)
virtual bool update (::IClientInstance &client, ::UIControl &owner, ::UIScene const &scene)
MCAPI void _loadHeartTextures (::mce::TextureGroup &textureGroup, bool isHardcore)
MCAPI bool _validateHeartMeshes (::ScreenContext &screenContext)
MCAPI void * $ctor ()
MCAPI ::std::shared_ptr<::UICustomRenderer$clone () const
MCAPI void $render (::MinecraftUIRenderContext &renderContext, ::IClientInstance &, ::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)
MCFOLD void $dtor ()
MCAPI void $frameUpdate (::UIFrameUpdateContext &frameUpdateContext, ::UIControl &owner)
MCFOLD void $frameUpdate (::MinecraftUIFrameUpdateContext &, ::UIControl &)
MCAPI void $render (::UIRenderContext &renderContext, ::IClientInstance &client, ::UIControl &owner, int pass)
MCAPI void $preRenderSetup (::UIRenderContext &renderContext)
MCFOLD 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
MCFOLD::UIBatchType $getBatchType () const
MCFOLD int $getCustomId () const
MCFOLD int $getNumRenderPasses () const
MCAPI::ResourceLocation $getResourceLocation (int textureSlot, int pass) const
MCFOLD::UIMaterialType $getUIMaterialType (int pass) const
MCFOLD bool $getRequiresPreRenderSetup (int pass) const
MCFOLD void $onVisibilityChanged (bool visible)
MCFOLD void $collectScreenEvents (::std::queue<::ScreenEvent, ::std::deque<::ScreenEvent > > &screenEvents)
MCFOLD::UIItemRenderInfo $getItemRenderInfo () const

Static Public Member Functions

static MCAPI ::HudHeartRenderer::SanitizedHealthData getSanitizedHealthData (::Player const &player)
static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 1, 1, bool > mHasLoadedTextures
::ll::TypedStorage< 1, 1, bool > mShouldRender
::ll::TypedStorage< 8, 24, ::HudHeartRenderer::HeartIconDatamBackgroundIcon
::ll::TypedStorage< 8, 24, ::HudHeartRenderer::HeartIconDatamFullFlashIcon
::ll::TypedStorage< 8, 24, ::HudHeartRenderer::HeartIconDatamHalfFlashIcon
::ll::TypedStorage< 8, 24, ::HudHeartRenderer::HeartIconDatamFullAbsorptionIcon
::ll::TypedStorage< 8, 24, ::HudHeartRenderer::HeartIconDatamHalfAbsorptionIcon
::ll::TypedStorage< 8, 24, ::HudHeartRenderer::HeartIconDatamFullIcon
::ll::TypedStorage< 8, 24, ::HudHeartRenderer::HeartIconDatamHalfIcon
::ll::TypedStorage< 8, 640, ::std::array<::mce::TexturePtr, 20 > > mHeartTextures
::ll::TypedStorage< 8, 10560, ::std::array<::mce::Mesh, 20 > > mHeartMeshes
::ll::TypedStorage< 8, 24, ::std::vector<::glm::vec3 > > mIconPosition
::ll::TypedStorage< 4, 4, float > mPropagatedAlpha

Member Function Documentation

◆ clone()

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

Implements UICustomRenderer.

◆ render() [1/2]

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

◆ update()

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

Reimplemented from UICustomRenderer.

◆ $vftable()

MCAPI void ** HudHeartRenderer::$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.

◆ 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.


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