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::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, ::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 ()
 
MCAPI void $onAppSuspended ()
 
MCAPI void $preDraw (::ScreenContext &)
 
MCAPI void $postDraw (::ScreenContext &)
 
MCAPI void $render (::ScreenContext &)
 
MCAPI void $render (::ScreenContext &screenContext, ::Actor &, float, float, float, float, float, float)
 
MCAPI void $render (::BaseActorRenderContext &)
 
MCAPI void $render (::BaseActorRenderContext &baseActorRenderContext, ::Actor &, float, float, float, float, float, float)
 
MCAPI void $setupAnim (float, float, float, float, float, float)
 
MCAPI void $setupAnim ()
 
MCAPI void $prepareMobModel (::Mob &, float, float, float)
 
MCAPI float $getHeightAdjustment () const
 
MCAPI::AABB $buildAABB () 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 ::GameVersion & Version_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::UntypedStorage< 4, 12 > mUnkd6ffb4
 
::ll::UntypedStorage< 4, 4 > mUnk4a8c3a
 
::ll::UntypedStorage< 1, 1 > mUnk2d6e55
 
::ll::UntypedStorage< 1, 1 > mUnk9d6f48
 
::ll::UntypedStorage< 8, 24 > mUnk565535
 
::ll::UntypedStorage< 8, 64 > mUnka1f43e
 
::ll::UntypedStorage< 8, 64 > mUnk46a001
 
::ll::UntypedStorage< 8, 24 > mUnk52e0a6
 
::ll::UntypedStorage< 8, 24 > mUnk2fa2b2
 
::ll::UntypedStorage< 8, 8 > mUnk8a72cc
 
::ll::UntypedStorage< 8, 32 > mUnk37dfb5
 

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.

◆ 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()

static 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()

static 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() [1/2]

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()

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

◆ assignPartToGroup()

MCAPI void Model::assignPartToGroup ( ::ModelPart & part,
bool forceToUniqueGroup,
int skinnedMeshGroupIdentifier,
::DataDrivenGeometry * owningGeometry )
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.

◆ dataDrivenDraw()

MCAPI void Model::dataDrivenDraw ( ::RenderParams & renderParams,
::dragon::RenderMetadata const & renderMetadata,
::gsl::not_null<::RenderController const * > renderController,
::DataDrivenGeometry & geo,
::ClientPBRTextureData const & textureData,
::std::optional<::MERSUniformData > const & mersUniforms )
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.

◆ draw() [1/2]

MCAPI void Model::draw ( ::ScreenContext & screenContext,
::dragon::RenderMetadata const & renderMetadata,
::mce::ClientTexture const & texture )
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.

◆ draw() [2/2]

MCAPI void Model::draw ( ::ScreenContext & screenContext,
::dragon::RenderMetadata const & renderMetadata,
::ClientPBRTextureData const & textureData,
::std::optional<::MERSUniformData > const & mersUniforms )
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.

◆ prepareSkinning()

MCAPI void Model::prepareSkinning ( )
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.

◆ setModelMaterial()

MCAPI void Model::setModelMaterial ( ::mce::MaterialPtr const & materialPtr)
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.

◆ $ctor() [2/2]

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

◆ $dtor()

MCAPI void Model::$dtor ( )
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.

◆ $clear()

MCAPI void Model::$clear ( )
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.

◆ $onAppSuspended()

MCAPI void Model::$onAppSuspended ( )
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.

◆ $preDraw()

MCAPI void Model::$preDraw ( ::ScreenContext & )
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.

◆ $postDraw()

MCAPI void Model::$postDraw ( ::ScreenContext & )
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() [1/4]

MCAPI void Model::$render ( ::ScreenContext & )
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() [2/4]

MCAPI void Model::$render ( ::ScreenContext & screenContext,
::Actor & ,
float ,
float ,
float ,
float ,
float ,
float  )
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() [3/4]

MCAPI void Model::$render ( ::BaseActorRenderContext & )
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() [4/4]

MCAPI void Model::$render ( ::BaseActorRenderContext & baseActorRenderContext,
::Actor & ,
float ,
float ,
float ,
float ,
float ,
float  )
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.

◆ $setupAnim() [1/2]

MCAPI void Model::$setupAnim ( float ,
float ,
float ,
float ,
float ,
float  )
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.

◆ $setupAnim() [2/2]

MCAPI void Model::$setupAnim ( )
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.

◆ $prepareMobModel()

MCAPI void Model::$prepareMobModel ( ::Mob & ,
float ,
float ,
float  )
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.

◆ $getHeightAdjustment()

MCAPI float Model::$getHeightAdjustment ( ) 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.

◆ $buildAABB()

MCAPI::AABB Model::$buildAABB ( ) 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: