class ScriptLibrary

Abstraction that handles a specific set of script libraries.

Public

Methods

~ScriptLibrary

virtual ~ScriptLibrary() noexcept = default

Initialize

virtual void Initialize() = 0

Called when the script system is being activated.

Update

virtual void Update()

Called once per frame.

Reload

virtual void Reload() = 0

Called when the script libraries should be reloaded (for example when they are recompiled).

Destroy

virtual void Destroy() = 0

Called when the script system is being destroyed.

GetEngineAssemblyPath

virtual Path GetEngineAssemblyPath() const

Returns the absolute path to the builtin managed engine assembly file.

GetEngineAssemblyName

virtual const char *GetEngineAssemblyName() const

Returns the name of the assembly that wraps built-in engine functionality, without extension.

GetGameAssemblyPath

virtual Path GetGameAssemblyPath() const

Returns the absolute path to the game managed assembly file.

GetGameAssemblyName

virtual const char *GetGameAssemblyName() const

Returns the name of the assembly that will store user's runtime application code, without extension.

GetEditorAssemblyPath

virtual Path GetEditorAssemblyPath() const

Returns the absolute path to the built-in managed editor assembly file.

GetEditorScriptAssemblyPath

virtual Path GetEditorScriptAssemblyPath() const

Returns the absolute path of the managed editor script assembly file.

GetEditorAssemblyName

virtual const char *GetEditorAssemblyName() const

Returns the name of the assembly that wraps built-in editor functionality, without extension.

GetScriptEditorAssemblyName

virtual const char *GetScriptEditorAssemblyName() const

Returns the name of the assembly that wraps user implemented editor functionality, without extension.

GetBuiltinAssemblyFolder

virtual Path GetBuiltinAssemblyFolder() const

Returns the absolute path to the folder where built-in assemblies are located in.

GetScriptAssemblyFolder

virtual Path GetScriptAssemblyFolder() const

Returns the absolute path to the folder where script assemblies are located in.

GetBuiltinAssembliesPath

virtual Path GetBuiltinAssembliesPath() const = 0

Returns the absolute path at which builtin assemblies requires by the scripting runtime are located.

GetScriptingRuntimePath

virtual Path GetScriptingRuntimePath() const = 0

Returns the absolute path at which miscellaneous files required by the scripting runtime are located.