Meta group



The type of plugin.

Meta::PluginType::Unknown = 0
Meta::PluginType::Legacy = 1
Meta::PluginType::Folder = 2
Meta::PluginType::Zip = 3


Where this plugin is loaded from.

Meta::PluginSource::Unknown = 0
Meta::PluginSource::ApplicationFolder = 1
Meta::PluginSource::UserFolder = 2
Meta::PluginSource::TitlePack = 3

Meta::Plugin Information about an Openplanet plugin.

Global functions

Meta::Plugin@ Meta::ExecutingPlugin() Gets the currently executing plugin.

Meta::Plugin@[]@ Meta::AllPlugins() Gets all plugins that are loaded.

Meta::Plugin@ Meta::LoadPlugin(const string&in path, Meta::PluginSource source, Meta::PluginType type) Loads a plugin into memory from the given absolute path and returns a handle to the plugin.

void Meta::UnloadPlugin(Meta::Plugin@ plugin) Unloads a plugin from memory completely. Note that this will invalidate the plugin object passed in! Do not use the handle after calling this!