C4 Engine
C4 Engine API Documentation

class Plugin

Defined in:  C4Plugins.h
The Plugin class represents an engine plugin.
Definition

class Plugin

Constructor

Plugin();

Description
The Plugin class is the base class for all engine plugins. The plugin object defined by every engine plugin module must inherit, driectly or indirectly, from the Plugin class.

Every plugin module must contain a CreatePlugin function declared as follows:
extern "C"
{
    C4_MODULE_EXPORT C4::Plugin *CreatePlugin(void);
}
The implementation of this function must return a newly created object that has the Plugin class as a base class.