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

Public Member Functions

 ScriptStructureManager (ScriptStructureManager const &)
MCAPI::std::string_view _getPlaceErrorMessage (::std::string_view const key) const
MCAPI::StructureTemplate const * _getStructure (::std::variant< ::std::string, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptStructureTemplate > > const &scriptStructureOrName) const
MCAPI ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptStructureTemplate > getOrCreateScriptStructure (::StructureTemplate &structureTemplate)
MCAPI::ScriptModuleMinecraft::ScriptStructureManager & operator= (::ScriptModuleMinecraft::ScriptStructureManager const &)
MCAPI ::std::optional<::Scripting::InvalidArgumentError > validateIdentifier (::std::string const &identifier) const

Static Public Member Functions

static MCAPI ::Scripting::ClassBinding bind ()

Public Attributes

::ll::TypedStorage< 8, 16, ::Scripting::WeakLifetimeScope > mScope
::ll::TypedStorage< 8, 8, ::gsl::not_null<::ServerLevel * > > mLevel
::ll::TypedStorage< 8, 64, ::std::unordered_map< ::std::string, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptStructureTemplate > > > mStructures
::ll::TypedStorage< 8, 32, ::std::optional<::std::vector<::std::string > > > mPackStructureIds

Member Function Documentation

◆ _getPlaceErrorMessage()

MCAPI::std::string_view ScriptModuleMinecraft::ScriptStructureManager::_getPlaceErrorMessage ( ::std::string_view const key) 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.

◆ _getStructure()

MCAPI::StructureTemplate const * ScriptModuleMinecraft::ScriptStructureManager::_getStructure ( ::std::variant< ::std::string, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptStructureTemplate > > const & scriptStructureOrName) 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.

◆ getOrCreateScriptStructure()

MCAPI ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptStructureTemplate > ScriptModuleMinecraft::ScriptStructureManager::getOrCreateScriptStructure ( ::StructureTemplate & structureTemplate)
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.

◆ operator=()

MCAPI::ScriptModuleMinecraft::ScriptStructureManager & ScriptModuleMinecraft::ScriptStructureManager::operator= ( ::ScriptModuleMinecraft::ScriptStructureManager 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.

◆ validateIdentifier()

MCAPI ::std::optional<::Scripting::InvalidArgumentError > ScriptModuleMinecraft::ScriptStructureManager::validateIdentifier ( ::std::string const & identifier) 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.

◆ bind()

MCAPI ::Scripting::ClassBinding ScriptModuleMinecraft::ScriptStructureManager::bind ( )
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.

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