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

Public Member Functions

DataDrivenModeloperator= (DataDrivenModel const &)
 DataDrivenModel (DataDrivenModel const &)
MCAPI DataDrivenModel (::std::weak_ptr<::ActorResourceDefinition > definitionWeakPtr)
MCAPI::HashedString _parseRootSkinName (::HashedString const &skinName)
MCAPI bool _setArmorTrim (::ItemStack const &itemInstance, ::std::shared_ptr<::DataDrivenModel > model, ::Actor &actor, ::RenderParams &renderParams, ::RenderParams &childRenderParams)
MCAPI float executeScript (::HashedString const &scriptName, ::RenderParams &renderParams, float defaultValueIfNoScript)
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 renderAsChild (::RenderParams &renderParams, ::AttachableSlotIndex const &index)
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 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 &)
virtual void render (::ScreenContext &screenContext, ::Actor &, float, float, float, float, float, float)
virtual void render (::BaseActorRenderContext &)
virtual void render (::BaseActorRenderContext &baseActorRenderContext, ::Actor &, float, float, float, float, float, float)
virtual void setupAnim (float, float, float, float, float, float)
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 draw (::ScreenContext &screenContext, ::dragon::RenderMetadata const &renderMetadata, ::ClientPBRTextureData const &textureData, ::std::optional<::MERSUniformData > const &mersUniforms)
MCAPI void prepareSkinning ()
MCAPI void setModelMaterial (::mce::MaterialPtr const &materialPtr)
MCAPI void * $ctor ()
MCAPI void $dtor ()
MCAPI void $clear ()
MCFOLD void $onAppSuspended ()
MCFOLD void $preDraw (::ScreenContext &)
MCFOLD void $postDraw (::ScreenContext &)
MCFOLD void $render (::ScreenContext &)
MCAPI void $render (::ScreenContext &screenContext, ::Actor &, float, float, float, float, float, float)
MCFOLD void $render (::BaseActorRenderContext &)
MCFOLD void $render (::BaseActorRenderContext &baseActorRenderContext, ::Actor &, float, float, float, float, float, float)
MCFOLD void $setupAnim (float, float, float, float, float, float)
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 &)
virtual void onClipboardPaste (::std::string const &)
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 $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 &)
MCFOLD void $onClipboardPaste (::std::string const &)

Static Public Member Functions

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

Public Attributes

::ll::UntypedStorage< 8, 16 > mUnk7350c7
::ll::UntypedStorage< 8, 48 > mUnk716b58
::ll::UntypedStorage< 8, 64 > mUnk1aee8d
::ll::UntypedStorage< 1, 1 > mUnkb6b6be
::ll::UntypedStorage< 1, 1 > mUnke411d6
::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< 8, 32, ::MaterialVariantsmMaterialVariants
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::SubscriptionmLowMemorySubscription
::ll::TypedStorage< 1, 1, bool > mListenerRegistered

Constructor & Destructor Documentation

◆ DataDrivenModel()

MCAPI DataDrivenModel::DataDrivenModel ( ::std::weak_ptr<::ActorResourceDefinition > definitionWeakPtr)
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

◆ _parseRootSkinName()

MCAPI::HashedString DataDrivenModel::_parseRootSkinName ( ::HashedString const & skinName)
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.

◆ _setArmorTrim()

MCAPI bool DataDrivenModel::_setArmorTrim ( ::ItemStack const & itemInstance,
::std::shared_ptr<::DataDrivenModel > model,
::Actor & actor,
::RenderParams & renderParams,
::RenderParams & childRenderParams )
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.

◆ executeScript()

MCAPI float DataDrivenModel::executeScript ( ::HashedString const & scriptName,
::RenderParams & renderParams,
float defaultValueIfNoScript )
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.

◆ getCopyOfScript_defaultIfNone()

MCAPI::ExpressionNode DataDrivenModel::getCopyOfScript_defaultIfNone ( ::HashedString const & name) 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.

◆ getDataDrivenRenderer()

MCAPI ::std::weak_ptr<::DataDrivenRenderer > DataDrivenModel::getDataDrivenRenderer ( ::RenderParams & renderParams,
::ItemStack const & itemInstance )
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.

◆ getResourceDefinitionName()

MCAPI::std::string DataDrivenModel::getResourceDefinitionName ( ) 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.

◆ hasScript()

MCAPI bool DataDrivenModel::hasScript ( ::HashedString const & name) 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.

◆ render()

MCAPI void DataDrivenModel::render ( ::std::shared_ptr<::DataDrivenRenderer > renderer,
::ActorRenderData & actorRenderData,
::Vec3 const & modelTranslationWithWorldRotation,
::Vec3 const & cameraTargetPos )
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.

◆ renderAsChild()

MCAPI void DataDrivenModel::renderAsChild ( ::RenderParams & renderParams,
::AttachableSlotIndex const & index )
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.

◆ renderAttachable()

MCAPI void DataDrivenModel::renderAttachable ( ::ItemStack const & itemInstance,
::AttachableSlotIndex const & attachableSlotIndex,
::RenderParams & renderParams,
::Actor & actor )
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.

◆ renderAttachableNoChecks()

MCAPI void DataDrivenModel::renderAttachableNoChecks ( ::ItemStack const & itemInstance,
::AttachableSlotIndex const & attachableSlotIndex,
::RenderParams & renderParams,
::Actor & actor )
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.

◆ setupAttachable()

MCAPI void DataDrivenModel::setupAttachable ( ::ItemStack const & itemInstance,
::AttachableSlotIndex const & attachableSlotIndex,
::RenderParams & renderParams,
::Actor & actor )
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.

◆ setupAttachableNoChecks()

MCAPI void DataDrivenModel::setupAttachableNoChecks ( ::ItemStack const & itemInstance,
::AttachableSlotIndex const & attachableSlotIndex,
::RenderParams & renderParams,
::Actor & actor,
bool isFirstPerson,
bool runParentSetup )
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.

◆ tryExecuteScript()

MCAPI bool DataDrivenModel::tryExecuteScript ( ::HashedString const & scriptName,
::RenderParams & renderParams,
float & result )
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.

◆ shouldRenderAttachable()

MCAPI bool DataDrivenModel::shouldRenderAttachable ( ::ItemStack const & itemInstance,
::AttachableSlotIndex const & attachableSlotIndex,
bool isFirstPerson,
bool lessThanOrEqualToVersion_1_16_210,
bool hideArmor )
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.

◆ Version_1_16_210()

MCAPI ::GameVersion & DataDrivenModel::Version_1_16_210 ( )
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 * DataDrivenModel::$ctor ( ::std::weak_ptr<::ActorResourceDefinition > definitionWeakPtr)
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 ** DataDrivenModel::$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.

◆ onAppSuspended()

virtual void Model::onAppSuspended ( )
virtualinherited

Reimplemented from AppPlatformListener.


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