Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ScriptPluginManager Class Reference

Classes

struct  PackNameAndWeakScope

Public Member Functions

ScriptPluginManager & operator= (ScriptPluginManager const &)
 ScriptPluginManager (ScriptPluginManager const &)
MCAPI void _collectHandleCountStats (::DebuggerStat &pluginStats, uint64, uint64, uint64)
MCAPI void _collectMemoryStats (::DebuggerStat &javaScriptStats)
MCAPI void _collectQuickJsStats (::DebuggerStat &javaScriptStats)
MCAPI void _collectScriptingStats (::std::reference_wrapper<::ServerLevel > serverLevel, ::DebuggerStat &allScriptingStats)
MCAPI void _collectSubscriberCountStats (::Bedrock::NotNullNonOwnerPtr<::ServerLevel > serverLevel, ::gsl::not_null<::Scripting::DependencyLocator * > locator, ::DebuggerStat &subscriberStats)
MCAPI void _disableHandleCounter ()
MCAPI void _enableHandleCounter ()
MCAPI void _reloadHandleCounter (bool publisherEnabled)
MCAPI::Scripting::RuntimeStats collectRuntimeStats () const
MCAPI::ScriptPluginManagerResult discoverPlugins (::ResourceInformation::ResourceType moduleType, ::IScriptPluginSourceEnumerator &pluginEnumerator, ::std::vector<::std::function<::ScriptModuleFilters::FilterResult(::PackManifest const &, ::Scripting::ModuleDescriptor const &, ::Scripting::ModuleDescriptor const &, ::ScriptPluginResult &)> > const &moduleFilters, ::std::vector<::mce::UUID > excludeModuleIDs, ::std::function<::PluginExecutionGroup(::std::vector<::Scripting::ModuleDescriptor > const &)> &&pluginExecutionGroupSelector)
MCAPI void forEachRuntime (::std::function< void(::Scripting::IRuntime &)> func)
MCAPI ::std::vector<::ScriptPluginManager::PackNameAndWeakScope > getPluginScopes () const
MCAPI ~ScriptPluginManager ()
MCAPI void $dtor ()

Public Attributes

::ll::TypedStorage< 8, 32, ::BaseGameVersion > mBaseGameVersion
::ll::TypedStorage< 8, 8, ::Scripting::ScriptEngine & > mScriptEngine
::ll::TypedStorage< 8, 24, ::std::vector<::std::unique_ptr<::ScriptPlugin > > > mScriptPlugins
::ll::TypedStorage< 8, 24, ::Scripting::RuntimeConditions > mCurrentRuntimeConditions
::ll::TypedStorage< 1, 1, bool > mSystemPackDiscoveryError
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::DebuggerStatCollector > > mMemoryStatCollector
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::DebuggerStatCollector > > mHandleCountStatCollector
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::DebuggerStatCollector > > mSubscriberCountStatCollector
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::DebuggerStatCollector > > mQuickJsStatCollector
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::DebuggerStatCollector > > mScriptingStatCollector

Constructor & Destructor Documentation

◆ ~ScriptPluginManager()

MCAPI ScriptPluginManager::~ScriptPluginManager ( )
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

◆ _collectHandleCountStats()

MCAPI void ScriptPluginManager::_collectHandleCountStats ( ::DebuggerStat & pluginStats,
uint64 ,
uint64 ,
uint64  )
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.

◆ _collectMemoryStats()

MCAPI void ScriptPluginManager::_collectMemoryStats ( ::DebuggerStat & javaScriptStats)
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.

◆ _collectQuickJsStats()

MCAPI void ScriptPluginManager::_collectQuickJsStats ( ::DebuggerStat & javaScriptStats)
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.

◆ _collectScriptingStats()

MCAPI void ScriptPluginManager::_collectScriptingStats ( ::std::reference_wrapper<::ServerLevel > serverLevel,
::DebuggerStat & allScriptingStats )
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.

◆ _collectSubscriberCountStats()

MCAPI void ScriptPluginManager::_collectSubscriberCountStats ( ::Bedrock::NotNullNonOwnerPtr<::ServerLevel > serverLevel,
::gsl::not_null<::Scripting::DependencyLocator * > locator,
::DebuggerStat & subscriberStats )
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.

◆ _disableHandleCounter()

MCAPI void ScriptPluginManager::_disableHandleCounter ( )
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.

◆ _enableHandleCounter()

MCAPI void ScriptPluginManager::_enableHandleCounter ( )
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.

◆ _reloadHandleCounter()

MCAPI void ScriptPluginManager::_reloadHandleCounter ( bool publisherEnabled)
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.

◆ collectRuntimeStats()

MCAPI::Scripting::RuntimeStats ScriptPluginManager::collectRuntimeStats ( ) 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.

◆ discoverPlugins()

MCAPI::ScriptPluginManagerResult ScriptPluginManager::discoverPlugins ( ::ResourceInformation::ResourceType moduleType,
::IScriptPluginSourceEnumerator & pluginEnumerator,
::std::vector<::std::function<::ScriptModuleFilters::FilterResult(::PackManifest const &, ::Scripting::ModuleDescriptor const &, ::Scripting::ModuleDescriptor const &, ::ScriptPluginResult &)> > const & moduleFilters,
::std::vector<::mce::UUID > excludeModuleIDs,
::std::function<::PluginExecutionGroup(::std::vector<::Scripting::ModuleDescriptor > const &)> && pluginExecutionGroupSelector )
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.

◆ forEachRuntime()

MCAPI void ScriptPluginManager::forEachRuntime ( ::std::function< void(::Scripting::IRuntime &)> func)
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.

◆ getPluginScopes()

MCAPI ::std::vector<::ScriptPluginManager::PackNameAndWeakScope > ScriptPluginManager::getPluginScopes ( ) 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.

◆ $dtor()

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