IRCTags

Constructors

this
this(string tagString)
Undocumented in source.
this
this(string[string] inTags)
Undocumented in source.

Alias This

tags

Members

Functions

batch
void batch(string id)
Undocumented in source. Be warned that the author may not have intended to support it.
empty
bool empty()
Undocumented in source. Be warned that the author may not have intended to support it.
multilineConcat
void multilineConcat()
Undocumented in source. Be warned that the author may not have intended to support it.
reply
void reply(string id)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.
typing
void typing(TypingState state)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

tags
string[string] tags;

Examples

{
	const tags = IRCTags("a=b;x=");
	assert(tags["a"] == "b");
	assert(tags["x"] == "");
}
{
	const tags = IRCTags(["a": "b", "x": ""]);
	assert(tags["a"] == "b");
	assert(tags["x"] == "");
}
{
	const tags = IRCTags(["a": "\\"]);
	assert(tags["a"] == "\\");
	//assert(tags.toString() == "a=\\\\");
}

Meta