Class reference

GDExtensionManager

Inherits Object

Provides access to GDExtension functionality.

Description

The GDExtensionManager loads, initializes, and keeps track of all available GDExtension libraries in the project. Note: Do not worry about GDExtension unless you know what you are doing.

Methods

PackedStringArray get_loaded_extensions() const

Returns the file paths of all currently loaded extensions.

bool is_extension_loaded(String path) const

Returns true if the extension at the given file path has already been loaded successfully. See also get_loaded_extensions().

Signals

extension_loaded(GDExtension extension)

Emitted after the editor has finished loading a new extension. Note: This signal is only emitted in editor builds.

extension_unloading(GDExtension extension)

Emitted before the editor starts unloading an extension. Note: This signal is only emitted in editor builds.

extensions_reloaded()

Emitted after the editor has finished reloading one or more extensions.

Constants

LOAD_STATUS_OK = 0

Enum: LoadStatus

The extension has loaded successfully.

LOAD_STATUS_FAILED = 1

Enum: LoadStatus

The extension has failed to load, possibly because it does not exist or has missing dependencies.

LOAD_STATUS_ALREADY_LOADED = 2

Enum: LoadStatus

The extension has already been loaded.

LOAD_STATUS_NOT_LOADED = 3

Enum: LoadStatus

The extension has not been loaded.

LOAD_STATUS_NEEDS_RESTART = 4

Enum: LoadStatus

The extension requires the application to restart to fully load.

Tutorials

Source revision 4f5b14abade2
Connection interrupted. Reload×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.