hexchat.plugin

Undocumented in source.

Members

Enums

CommandPriority
enum CommandPriority
EatMode
enum EatMode

Event consumption behavior.

PluginStyle
enum PluginStyle

Type of client this plugin should be compatible with.

deinitFuncName
eponymoustemplate deinitFuncName(PluginStyle style : PluginStyle.hexchat)
Undocumented in source.
deinitFuncName
eponymoustemplate deinitFuncName(PluginStyle style : PluginStyle.xchat)
Undocumented in source.
initFuncName
eponymoustemplate initFuncName(PluginStyle style : PluginStyle.hexchat)
Undocumented in source.
initFuncName
eponymoustemplate initFuncName(PluginStyle style : PluginStyle.xchat)
Undocumented in source.

Functions

__deinitDPlugin
int __deinitDPlugin(DeinitFunc deinitFunc, void* ph)
Undocumented in source. Be warned that the author may not have intended to support it.
__initDPlugin
int __initDPlugin(InitFunc initFunc, void* plugin_handle, immutable(char)** plugin_name, immutable(char)** plugin_desc, immutable(char)** plugin_version)
Undocumented in source. Be warned that the author may not have intended to support it.
commandf
void commandf(const(char)[] fmt, FmtArgs fmtArgs)
Undocumented in source. Be warned that the author may not have intended to support it.
getInfo
string getInfo(char[] id)
Undocumented in source. Be warned that the author may not have intended to support it.
hookCommand
void hookCommand(char[] cmd, EatMode delegate(in char[][] words, in char[][] words_eol) callback, char[] helpText, CommandPriority priority)

Hook a chat command.

hookCommand
void hookCommand(char[] cmd, EatMode function(in char[][] words, in char[][] words_eol) callback, char[] helpText, CommandPriority priority)

Hook a chat command.

hookPrint
void hookPrint(char[] name, EatMode function(in char[][] words) callback, CommandPriority priority)
void hookPrint(char[] name, EatMode delegate(in char[][] words) callback, CommandPriority priority)

Hook a print event.

hookServer
void hookServer(char[] type, EatMode function(in char[][] words, in char[][] words_eol) callback, CommandPriority priority)
void hookServer(char[] type, EatMode delegate(in char[][] words, in char[][] words_eol) callback, CommandPriority priority)

Hook a server message.

parseUser
User parseUser(const(char)[] user)
Undocumented in source. Be warned that the author may not have intended to support it.
readInfo
void readInfo(char[] id, void delegate(in char[] info) dg)
Undocumented in source. Be warned that the author may not have intended to support it.
writefln
void writefln(const(char)[] fmt, FmtArgs fmtArgs)
Undocumented in source. Be warned that the author may not have intended to support it.

Mixin templates

Plugin
mixintemplate Plugin(alias initFunc, PluginStyle style = PluginStyle.hexchat)
mixintemplate Plugin(alias initFunc, alias deinitFunc, PluginStyle style = PluginStyle.hexchat)

Generate entry and exit points for this plugin.

Structs

PluginInfo
struct PluginInfo
User
struct User
Undocumented in source.

Templates

deinitFuncName
template deinitFuncName(PluginStyle)
Undocumented in source.
initFuncName
template initFuncName(PluginStyle)
Undocumented in source.

Meta