IRCPluginImpl.serialiseConfigInto

Gathers the configuration text the plugin wants to contribute to the configuration file.

mixintemplate IRCPluginImpl(Flag!"debug_" debug_ = No.debug_, string module_ = __MODULE__)
@safe override const
bool
serialiseConfigInto
(
ref Appender!(char[]) sink
)

Parameters

sink Appender!(char[])

Reference Appender to fill with plugin-specific settings text.

Return Value

Type: bool

true if something was serialised into the passed sink; false if not.

Examples

Appender!(char[]) sink;
sink.reserve(128);
serialiseConfigInto(sink);