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

Public Member Functions

MCAPI DataDrivenModel (::std::weak_ptr<::ActorResourceDefinition > definitionWeakPtr)
MCAPI bool _setArmorTrim (::ItemStack const &itemInstance, ::std::shared_ptr<::DataDrivenModel > model, ::Actor &actor, ::RenderParams &renderParams, ::RenderParams &childRenderParams)
MCAPI::ExpressionNode getCopyOfScript_defaultIfNone (::HashedString const &name) const
MCAPI ::std::weak_ptr<::DataDrivenRenderergetDataDrivenRenderer (::RenderParams &renderParams, ::ItemStack const &itemInstance)
MCAPI::std::string getResourceDefinitionName () const
MCAPI bool hasScript (::HashedString const &name) const
MCAPI void render (::std::shared_ptr<::DataDrivenRenderer > renderer, ::ActorRenderData &actorRenderData, ::Vec3 const &modelTranslationWithWorldRotation, ::Vec3 const &cameraTargetPos)
MCAPI void renderAttachable (::ItemStack const &itemInstance, ::AttachableSlotIndex const &attachableSlotIndex, ::RenderParams &renderParams, ::Actor &actor)
MCAPI void renderAttachableNoChecks (::ItemStack const &itemInstance, ::AttachableSlotIndex const &attachableSlotIndex, ::RenderParams &renderParams, ::Actor &actor)
MCAPI void resolveHeldItemScaleForRender (::RenderParams &renderParams) const
MCAPI void setupAttachable (::ItemStack const &itemInstance, ::AttachableSlotIndex const &attachableSlotIndex, ::RenderParams &renderParams, ::Actor &actor)
MCAPI void setupAttachableNoChecks (::ItemStack const &itemInstance, ::AttachableSlotIndex const &attachableSlotIndex, ::RenderParams &renderParams, ::Actor &actor, bool isFirstPerson, bool runParentSetup)
MCAPI bool tryExecuteScript (::HashedString const &scriptName, ::RenderParams &renderParams, float &result)
MCAPI void * $ctor (::std::weak_ptr<::ActorResourceDefinition > definitionWeakPtr)
virtual void clear ()
virtual void onAppSuspended ()
virtual void preDraw (::ScreenContext &)
virtual void postDraw (::ScreenContext &)
virtual void render (::ScreenContext &screenContext)
virtual void render (::ScreenContext &screenContext, ::Actor &entity, float time, float r, float bob, float yRot, float xRot, float scale)
virtual void render (::BaseActorRenderContext &)
virtual void render (::BaseActorRenderContext &baseActorRenderContext, ::Actor &, float, float, float, float, float, float)
virtual void setupAnim (float time, float r, float bob, float yRot, float xRot, float scale)
virtual void setupAnim ()
virtual void prepareMobModel (::Mob &, float, float, float)
virtual float getHeightAdjustment () const
virtual::AABB buildAABB () const
MCAPI void assignPartToGroup (::ModelPart &part, bool forceToUniqueGroup, int skinnedMeshGroupIdentifier, ::DataDrivenGeometry *owningGeometry)
MCAPI void dataDrivenDraw (::RenderParams &renderParams, ::dragon::RenderMetadata const &renderMetadata, ::gsl::not_null<::RenderController const * > renderController, ::DataDrivenGeometry &geo, ::ClientPBRTextureData const &textureData, ::std::optional<::MERSUniformData > const &mersUniforms)
MCAPI void draw (::ScreenContext &screenContext, ::dragon::RenderMetadata const &renderMetadata, ::mce::ClientTexture const &texture)
MCAPI void draw (::ScreenContext &screenContext, ::dragon::RenderMetadata const &renderMetadata, ::ActorTextureInfo const &textureInfo)
MCAPI void * $ctor ()
MCAPI void $dtor ()
MCAPI void $clear ()
MCAPI void $onAppSuspended ()
MCFOLD void $preDraw (::ScreenContext &)
MCFOLD void $postDraw (::ScreenContext &)
MCFOLD void $render (::ScreenContext &screenContext)
MCAPI void $render (::ScreenContext &screenContext, ::Actor &entity, float time, float r, float bob, float yRot, float xRot, float scale)
MCFOLD void $render (::BaseActorRenderContext &)
MCAPI void $render (::BaseActorRenderContext &baseActorRenderContext, ::Actor &, float, float, float, float, float, float)
MCFOLD void $setupAnim (float time, float r, float bob, float yRot, float xRot, float scale)
MCFOLD void $setupAnim ()
MCFOLD void $prepareMobModel (::Mob &, float, float, float)
MCAPI float $getHeightAdjustment () const
MCAPI::AABB $buildAABB () const
virtual void onAppPaused ()
virtual void onAppUnpaused ()
virtual void onAppPreSuspended ()
virtual void onAppResumed ()
virtual void onAppFocusLost ()
virtual void onAppFocusGained ()
virtual void onAppTerminated ()
virtual void onOperationModeChanged (::OperationMode const operationMode)
virtual void onPerformanceModeChanged (bool const boost)
virtual void onPushNotificationReceived (::PushNotificationMessage const &msg)
virtual void onResizeBegin ()
virtual void onResizeEnd ()
virtual void onDeviceLost ()
virtual void onAppSurfaceCreated ()
virtual void onAppSurfaceDestroyed ()
virtual void onClipboardCopy (::std::string const &clipString)
virtual void onClipboardPaste (::std::string const &clipString)
virtual void onLowMemory (::LowMemorySeverity)
MCAPI void initListener (float priority)
MCFOLD void $onAppPaused ()
MCFOLD void $onAppUnpaused ()
MCFOLD void $onAppPreSuspended ()
MCFOLD void $onAppResumed ()
MCFOLD void $onAppFocusLost ()
MCFOLD void $onAppFocusGained ()
MCFOLD void $onAppTerminated ()
MCFOLD void $onOperationModeChanged (::OperationMode const operationMode)
MCFOLD void $onPerformanceModeChanged (bool const boost)
MCFOLD void $onPushNotificationReceived (::PushNotificationMessage const &msg)
MCFOLD void $onResizeBegin ()
MCFOLD void $onResizeEnd ()
MCFOLD void $onDeviceLost ()
MCFOLD void $onAppSurfaceCreated ()
MCFOLD void $onAppSurfaceDestroyed ()
MCFOLD void $onClipboardCopy (::std::string const &clipString)
MCFOLD void $onClipboardPaste (::std::string const &clipString)
MCFOLD void $onLowMemory (::LowMemorySeverity)

Static Public Member Functions

static MCAPI bool shouldRenderAttachableOnActor (::ItemStack const &itemInstance, ::AttachableSlotIndex const &attachableSlotIndex, bool isSpectator, bool isFirstPerson, bool isRenderingOnMap, bool lessThanOrEqualToVersion_1_16_210, bool hideArmor)
static MCAPI ::GameVersionVersion_1_16_210 ()
static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 16, ::std::weak_ptr<::ActorResourceDefinition > > mResourceDefinition
::ll::TypedStorage< 8, 48, ::HashedStringmName
::ll::TypedStorage< 8, 64, ::std::unordered_map< int, ::std::weak_ptr<::DataDrivenRenderer > > > mItemToRendererMap
::ll::TypedStorage< 1, 1, bool > mEnableAttachables
::ll::TypedStorage< 1, 1, bool > mHideArmor
::ll::TypedStorage< 4, 12, ::Vec3mLeashOffset
::ll::TypedStorage< 4, 4, float > mAttackTime
::ll::TypedStorage< 1, 1, bool > mYoung
::ll::TypedStorage< 1, 1, bool > mRiding
::ll::TypedStorage< 8, 24, ::std::vector<::ModelPart * > > mAllParts
::ll::TypedStorage< 8, 64, ::std::unordered_map<::HashedString, ::HashedString > > mParticleEffectsMap
::ll::TypedStorage< 8, 64, ::std::unordered_map<::HashedString, ::ModelPartLocator > > mLocators
::ll::TypedStorage< 8, 24, ::std::vector<::std::pair<::std::shared_ptr<::RenderController >, ::ExpressionNode > > > mRenderControllers
::ll::TypedStorage< 8, 24, ::std::vector<::std::shared_ptr<::DataDrivenGeometry > > > mGeometries
::ll::TypedStorage< 8, 8, uint64 > mQueryableGeometryIndex
::ll::TypedStorage< 4, 24, ::AABBmAABB
::ll::TypedStorage< 8, 32, ::MaterialVariantsmMaterialVariants
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::SubscriptionmLowMemorySubscription
::ll::TypedStorage< 1, 1, bool > mListenerRegistered

Member Function Documentation

◆ onAppSuspended()

virtual void Model::onAppSuspended ( )
virtualinherited

Reimplemented from AppPlatformListener.

◆ $vftable()

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

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