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

Public Member Functions

ActorResourceDefinition & operator= (ActorResourceDefinition const &)
MCAPI ActorResourceDefinition (::ActorResourceDefinition const &rhs)
MCAPI ActorResourceDefinition (::HashedString name, bool isAttachable, ::SemVersion const &fullStackMinEngineVersion, ::SemVersion const &actorJsonMinEngineVersion)
MCAPI::ActorTextureInfo const getActorTextureInfo (::std::string_view name, bool returnFirstIfNotFound) const
MCAPI::PBRTexturePtrs const getActorTexturePtrs (::std::string const &name, bool returnFirstIfNotFound) const
MCAPI::mce::TexturePtr const getColorTexture (::std::string const &name, bool returnFirstIfNotFound) const
MCAPI::ResourceLocation const getColorTextureResourceLocation (::std::string const &name, bool returnFirstIfNotFound) const
MCAPI::GeometryPtr const getGeometry (::std::string_view name, bool returnFirstIfNotFound) const
MCAPI::MaterialVariants const & getMaterialVariants (::std::string const &name) const
MCAPI void mergeGeometry (::std::string const &name, ::GeometryPtr geometryPtr)
MCAPI void mergeHeldItemScale (::ExpressionNode heldItemScale)
MCAPI void mergeMaterial (::std::string const &name, ::mce::MaterialPtr skinningMaterialPtr, ::mce::MaterialPtr skinningColorMaterialPtr)
MCAPI void mergeParticleEffects (::std::unordered_map<::HashedString, ::HashedString > actorParticleEffects)
MCAPI void mergeRenderControllers (::std::vector<::std::pair<::RenderControllerPtr, ::ExpressionNode > > renderControllerPtrs)
MCAPI void mergeScript (::std::string name, ::ExpressionNode expression)
MCAPI void mergeSoundEffects (::std::string name, ::std::string soundEffectName)
MCAPI void mergeTexture (::std::string const &name, ::ActorTextureInfo const &inInfo)
MCAPI void mergeTexture (::std::string const &name, ::ResourceLocation const &colorResourceLocation, ::mce::TexturePtr colorTexture, ::std::optional<::ResourceLocation > mersResourceLocation, ::mce::TexturePtr mersTexture, ::MERSTextureMode mersTextureMode, ::std::optional<::ResourceLocation > normalResourceLocation, ::mce::TexturePtr normalTexture, ::NormalTextureMode normalTextureMode)
MCAPI void patch (::std::shared_ptr<::GeometryGroup > geometryGroup, ::std::shared_ptr<::ActorAnimationGroup > animationGroup, ::std::shared_ptr<::ActorAnimationControllerGroup > animationControllerGroup, ::std::string const &jsonPatchInfo)
MCAPI void removeRenderController (::std::string const &controllerName)
MCAPI void setColorTexture (::std::string const &name, ::ResourceLocation const &resourceLocation, ::mce::TexturePtr const &texture)
MCAPI void setQueryableGeometryName (::HashedString name)
MCAPI void setSpawnEgg (::SpawnEggInfo spawnEgg)
MCAPI void * $ctor (::ActorResourceDefinition const &rhs)
MCAPI void * $ctor (::HashedString name, bool isAttachable, ::SemVersion const &fullStackMinEngineVersion, ::SemVersion const &actorJsonMinEngineVersion)
MCAPI ::std::vector<::NamedMolangScript > const & getAnimateScriptArray () const
MCAPI void mergeActorAnimateScriptArray (::std::vector<::NamedMolangScript > const &actorAnimateScriptArray)
MCAPI void mergeAnimation (::HashedString const &name, ::ActorSkeletalAnimationPtr animationPtr)
MCAPI void mergeAnimationController (::HashedString const &name, ::ActorAnimationControllerPtr animationControllerPtr)

Static Public Member Functions

static MCAPI ::ActorTextureInfo getActorTextureInfo (::std::shared_ptr<::ActorResourceDefinition > definition, ::std::string_view name, bool returnFirstIfNotFound)
static MCAPI ::PBRTexturePtrs getActorTexturePtrs (::std::shared_ptr<::ActorResourceDefinition > definition, ::std::string const &name, bool returnFirstIfNotFound)
static MCAPI ::mce::TexturePtr getColorTexture (::std::shared_ptr<::ActorResourceDefinition > definition, ::std::string const &name, bool returnFirstIfNotFound)

Public Attributes

::ll::TypedStorage< 1, 1, bool const > mIsAttachable
::ll::TypedStorage< 1, 1, bool > mIsOverriden
::ll::TypedStorage< 8, 48, ::HashedString > mName
::ll::TypedStorage< 8, 24, ::SemVersion const > mFullStackMinEngineVersion
::ll::TypedStorage< 8, 24, ::SemVersion const > mActorJsonMinEngineVersion
::ll::TypedStorage< 8, 48, ::HashedString > mQueryableGeometryName
::ll::TypedStorage< 8, 64, ::std::unordered_map<::std::string, ::GeometryPtr > > mGeometryMap
::ll::TypedStorage< 8, 64, ::std::unordered_map<::std::string, ::ActorTextureInfo > > mTextureMap
::ll::TypedStorage< 8, 64, ::std::unordered_map<::std::string, ::MaterialVariants > > mMaterialVariantMap
::ll::TypedStorage< 8, 64, ::std::unordered_map<::HashedString, ::HashedString > > mActorParticleEffectMap
::ll::TypedStorage< 8, 24, ::std::vector<::std::pair<::RenderControllerPtr, ::ExpressionNode > > > mRenderControllerPtrArray
::ll::TypedStorage< 8, 64, ::std::unordered_map<::HashedString, ::ExpressionNode > > mActorScripts
::ll::TypedStorage< 8, 64, ::std::unordered_map<::HashedString, ::std::string > > mSoundEffectMap
::ll::TypedStorage< 8, 24, ::HeldItemInfo > mHeldItemInfo
::ll::TypedStorage< 1, 1, bool > mEnableAttachables
::ll::TypedStorage< 1, 1, bool > mHideArmor
::ll::TypedStorage< 8, 88, ::SpawnEggInfo > mSpawnEgg
::ll::TypedStorage< 8, 64, ::std::unordered_map<::HashedString, ::ActorSkeletalAnimationPtr > > mActorAnimationMap
::ll::TypedStorage< 8, 64, ::std::unordered_map<::HashedString, ::ActorAnimationControllerPtr > > mActorAnimationControllerMap
::ll::TypedStorage< 8, 24, ::std::vector<::NamedMolangScript > > mActorAnimateScriptArray
::ll::TypedStorage< 8, 24, ::std::vector<::MolangVariableSettings > > mVariableSettings
::ll::TypedStorage< 8, 24, ::std::vector<::HashedString > > mQueryableGeometryBoneNames

Constructor & Destructor Documentation

◆ ActorResourceDefinition() [1/2]

MCAPI ActorResourceDefinition::ActorResourceDefinition ( ::ActorResourceDefinition const & rhs)
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.

◆ ActorResourceDefinition() [2/2]

MCAPI ActorResourceDefinition::ActorResourceDefinition ( ::HashedString name,
bool isAttachable,
::SemVersion const & fullStackMinEngineVersion,
::SemVersion const & actorJsonMinEngineVersion )
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

◆ mergeGeometry()

MCAPI void ActorResourceDefinition::mergeGeometry ( ::std::string const & name,
::GeometryPtr geometryPtr )
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.

◆ mergeHeldItemScale()

MCAPI void ActorResourceDefinition::mergeHeldItemScale ( ::ExpressionNode heldItemScale)
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.

◆ mergeMaterial()

MCAPI void ActorResourceDefinition::mergeMaterial ( ::std::string const & name,
::mce::MaterialPtr skinningMaterialPtr,
::mce::MaterialPtr skinningColorMaterialPtr )
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.

◆ mergeParticleEffects()

MCAPI void ActorResourceDefinition::mergeParticleEffects ( ::std::unordered_map<::HashedString, ::HashedString > actorParticleEffects)
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.

◆ mergeRenderControllers()

MCAPI void ActorResourceDefinition::mergeRenderControllers ( ::std::vector<::std::pair<::RenderControllerPtr, ::ExpressionNode > > renderControllerPtrs)
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.

◆ mergeScript()

MCAPI void ActorResourceDefinition::mergeScript ( ::std::string name,
::ExpressionNode expression )
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.

◆ mergeSoundEffects()

MCAPI void ActorResourceDefinition::mergeSoundEffects ( ::std::string name,
::std::string soundEffectName )
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.

◆ mergeTexture() [1/2]

MCAPI void ActorResourceDefinition::mergeTexture ( ::std::string const & name,
::ActorTextureInfo const & inInfo )
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.

◆ mergeTexture() [2/2]

MCAPI void ActorResourceDefinition::mergeTexture ( ::std::string const & name,
::ResourceLocation const & colorResourceLocation,
::mce::TexturePtr colorTexture,
::std::optional<::ResourceLocation > mersResourceLocation,
::mce::TexturePtr mersTexture,
::MERSTextureMode mersTextureMode,
::std::optional<::ResourceLocation > normalResourceLocation,
::mce::TexturePtr normalTexture,
::NormalTextureMode normalTextureMode )
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.

◆ patch()

MCAPI void ActorResourceDefinition::patch ( ::std::shared_ptr<::GeometryGroup > geometryGroup,
::std::shared_ptr<::ActorAnimationGroup > animationGroup,
::std::shared_ptr<::ActorAnimationControllerGroup > animationControllerGroup,
::std::string const & jsonPatchInfo )
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.

◆ removeRenderController()

MCAPI void ActorResourceDefinition::removeRenderController ( ::std::string const & controllerName)
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.

◆ setColorTexture()

MCAPI void ActorResourceDefinition::setColorTexture ( ::std::string const & name,
::ResourceLocation const & resourceLocation,
::mce::TexturePtr const & texture )
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.

◆ setQueryableGeometryName()

MCAPI void ActorResourceDefinition::setQueryableGeometryName ( ::HashedString name)
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.

◆ setSpawnEgg()

MCAPI void ActorResourceDefinition::setSpawnEgg ( ::SpawnEggInfo spawnEgg)
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 * ActorResourceDefinition::$ctor ( ::ActorResourceDefinition const & rhs)
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 * ActorResourceDefinition::$ctor ( ::HashedString name,
bool isAttachable,
::SemVersion const & fullStackMinEngineVersion,
::SemVersion const & actorJsonMinEngineVersion )
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.

◆ mergeActorAnimateScriptArray()

MCAPI void CommonResourceDefinitionMap::mergeActorAnimateScriptArray ( ::std::vector<::NamedMolangScript > const & actorAnimateScriptArray)
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.

◆ mergeAnimation()

MCAPI void CommonResourceDefinitionMap::mergeAnimation ( ::HashedString const & name,
::ActorSkeletalAnimationPtr animationPtr )
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.

◆ mergeAnimationController()

MCAPI void CommonResourceDefinitionMap::mergeAnimationController ( ::HashedString const & name,
::ActorAnimationControllerPtr animationControllerPtr )
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: