32 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::IScriptPluginSource>> mPluginSource;
33 ::ll::TypedStorage<8, 96, ::Scripting::ModuleDescriptor> mModuleDescriptor;
34 ::ll::TypedStorage<8, 24, ::std::vector<::Scripting::ModuleDescriptor>> mModuleDependencies;
35 ::ll::TypedStorage<1, 1, ::Scripting::Capabilities> mCapabilities;
36 ::ll::TypedStorage<8, 32, ::MinEngineVersion const> mMinEngineVersion;
37 ::ll::TypedStorage<8, 48, ::PackIdVersion> mPackId;
38 ::ll::TypedStorage<8, 32, ::std::string> mRuntimeName;
39 ::ll::TypedStorage<4, 4, ::ScriptRuntimeType> mRuntimeType;
40 ::ll::TypedStorage<8, 32, ::std::string> mRuntimeFileExt;
41 ::ll::TypedStorage<8, 32, ::std::string> mMainScriptFilePath;
42 ::ll::TypedStorage<8, 24, ::std::vector<::std::string>> mScriptPaths;
43 ::ll::TypedStorage<8, 32, ::Scripting::ScriptContext> mContext;
44 ::ll::TypedStorage<1, 1, ::PluginExecutionGroup const> mExecutionGroup;
45 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::ScriptPluginHandleCounter>> mHandleCounter;
46 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ScriptPrintLogger>> mPrintLogger;
47 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ScriptSentryLogger>> mSentryLogger;
61 virtual ::std::optional<::Scripting::ScriptData> onLoadScript(::std::string
const& name) ;
73 virtual void onException(
76 ::entt::meta_any
const& errorAny
80 virtual bool shouldPrintException(
83 ::entt::meta_any
const& errorAny
87 virtual void onPromiseRejection(
90 ::entt::meta_any
const& errorAny,
99 ::std::shared_ptr<::IScriptPluginSource> pluginSource,
101 ::std::vector<::Scripting::ModuleDescriptor>&& moduleDependencies,
105 ::std::string
const& runtimeName,
106 ::std::string
const& mainScriptFilePath,
107 ::ResourceInformation::ResourceType pluginType,
108 ::PluginExecutionGroup executionGroup
111 MCAPI ::std::optional<::Scripting::ScriptData> _loadScript(::std::string
const& fileName);
113 MCAPI
void enableHandleCounter(
bool enabled);
120 ::std::shared_ptr<::IScriptPluginSource> pluginSource,
122 ::std::vector<::Scripting::ModuleDescriptor>&& moduleDependencies,
126 ::std::string
const& runtimeName,
127 ::std::string
const& mainScriptFilePath,
128 ::ResourceInformation::ResourceType pluginType,
129 ::PluginExecutionGroup executionGroup
142 MCAPI ::std::optional<::Scripting::ScriptData> $onLoadScript(::std::string
const& name);
150 MCAPI
void $onException(
153 ::entt::meta_any
const& errorAny
156 MCAPI
bool $shouldPrintException(
159 ::entt::meta_any
const& errorAny
162 MCAPI
void $onPromiseRejection(
165 ::entt::meta_any
const& errorAny,
Definition ScriptSentryLogger.h:15