IRCPluginImpl.this

Basic constructor for a plugin.

It passes execution to the module-level initialise if it exists.

There's no point in checking whether the plugin is enabled or not, as it will only be possible to change the setting after having created the plugin (and serialised settings into it).

mixintemplate IRCPluginImpl(Flag!"debug_" debug_ = No.debug_, string module_ = __MODULE__)
@safe @system
this

Parameters

state IRCPluginState

The aggregate of all plugin state variables, making this the "original state" of the plugin.

Meta