IPlugin

Basic plugin interface

Members

Functions

id
string id()

Unique identifier ("exampleplugin")

init
void init(IPluginManager pluginman)

Get references to other plugins. Other plugins may call this plugin from now

postInit
void postInit()

Called after init. Do something with data retrieved at previous stage

preInit
void preInit()

Private initialization using resources loaded by resource managers

registerResourceManagers
void registerResourceManagers(void delegate(IResourceManager) registerResourceManager)

Register resource managers provided by this plugin

registerResources
void registerResources(IResourceManagerRegistry resmanRegistry)

Get references to resource managers and call their methods. Resources are loaded before preInit

semver
string semver()

Human readable name ("Example plugin") Valid semver version string. i.e. 0.1.0-rc.1

Meta