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

Classes

struct  EDLWrapper
struct  LoadActorResult

Public Types

enum class  LoadStatus : int {
  Success = 0 , FailedToParseIdentifier = 1 , InvalidNamespaceInIdentifier = 2 , DefinitionAlreadyDefined = 3 ,
  FailedToLoadFromJSON = 4 , InvalidIdentifier = 5
}

Public Member Functions

ActorDefinitionGroup & operator= (ActorDefinitionGroup const &)
 ActorDefinitionGroup (ActorDefinitionGroup const &)
MCAPI ActorDefinitionGroup (::Level &level, ::ResourcePackManager &resourcePackManager, ::IMinecraftEventing &eventing, ::Experiments const &experiments, ::Bedrock::NonOwnerPointer<::LinkedAssetValidator > linkedAssetValidator)
MCAPI::ActorDefinitionGroup::LoadActorResult _loadActorDefinition (::Level &level, ::PackLoadContext &packLoadContext, ::std::string const &relativeResourceFilepath, ::Json::Value &root, ::std::unordered_set<::std::string > &definitions, ::LogArea logArea)
MCAPI ::std::vector<::std::string > buildActorEventList () const
MCAPI::ActorDefinitionPtr tryGetDefinition (::std::string const &definitionId)
MCAPI::ActorDefinitionPtr tryGetDefinitionGroup (::std::string const &base, ::std::string const &definitionId)
MCAPI void * $ctor (::Level &level, ::ResourcePackManager &resourcePackManager, ::IMinecraftEventing &eventing, ::Experiments const &experiments, ::Bedrock::NonOwnerPointer<::LinkedAssetValidator > linkedAssetValidator)
MCFOLD void $dtor ()

Static Public Member Functions

static MCAPI void _setupCommonResourceDefinitionMap (::ActorDefinition &def, ::Level &level)
static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 64, ::std::unordered_set<::ActorDefinitionPtr * > > mRegisteredPtrs
::ll::TypedStorage< 8, 64, ::std::unordered_map<::std::string, ::std::unique_ptr<::ActorDefinition > > > mDefinitions
::ll::TypedStorage< 8, 64, ::std::unordered_map<::std::string, ::ActorDefinitionGroup::EDLWrapper > > mTemplateMap
::ll::TypedStorage< 8, 8, ::ResourcePackManager & > mResourcePackManager
::ll::TypedStorage< 8, 24, ::Bedrock::NonOwnerPointer<::LinkedAssetValidator > > mLinkedAssetValidator
::ll::TypedStorage< 8, 80, ::std::mutex > mReferenceMutex
::ll::TypedStorage< 8, 8, ::IMinecraftEventing & > mEventing
::ll::TypedStorage< 8, 8, ::ActorComponentFactory * > mComponentFactory
::ll::TypedStorage< 8, 72, ::Experiments > mExperiments
::std::shared_ptr<::Bedrock::EnableNonOwnerReferences::ControlBlock > mControlBlock

Constructor & Destructor Documentation

◆ ActorDefinitionGroup()

MCAPI ActorDefinitionGroup::ActorDefinitionGroup ( ::Level & level,
::ResourcePackManager & resourcePackManager,
::IMinecraftEventing & eventing,
::Experiments const & experiments,
::Bedrock::NonOwnerPointer<::LinkedAssetValidator > linkedAssetValidator )
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

◆ buildActorEventList()

MCAPI ::std::vector<::std::string > ActorDefinitionGroup::buildActorEventList ( ) 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.

◆ tryGetDefinitionGroup()

MCAPI::ActorDefinitionPtr ActorDefinitionGroup::tryGetDefinitionGroup ( ::std::string const & base,
::std::string const & definitionId )
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.

◆ _setupCommonResourceDefinitionMap()

MCAPI void ActorDefinitionGroup::_setupCommonResourceDefinitionMap ( ::ActorDefinition & def,
::Level & level )
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 * ActorDefinitionGroup::$ctor ( ::Level & level,
::ResourcePackManager & resourcePackManager,
::IMinecraftEventing & eventing,
::Experiments const & experiments,
::Bedrock::NonOwnerPointer<::LinkedAssetValidator > linkedAssetValidator )
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 ** Bedrock::EnableNonOwnerReferences::$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 file: