IRCEvent

A single IRC event, parsed from server input.

The IRCEvent struct is a construct with fields extracted from raw server strings. Since structs are not polymorphic the Type enum dictates what kind of event it is.

Members

Enums

Type
enum Type

Types of IRCEvents.

Variables

aux
string[numAuxStrings] aux;

Auxiliary string array.

channel
string channel;

The channel the event transpired in, or is otherwise related to.

content
string content;

The main body of text of the event.

count
Nullable!long[numCounts] count;

Count array.

emotes
string emotes;

The Twitch emotes in the message, if any.

errors
string errors;

What errors occurred during parsing, if any.

id
string id;

The Twitch ID of this message.

num
uint num;

With a numeric event, the number of the event type.

raw
string raw;

The raw IRC string, untouched.

sender
IRCUser sender;

The name of whoever (or whatever) sent this event.

tags
string tags;

IRCv3 message tags attached to this event

target
IRCUser target;

The target user of the event.

time
long time;

A timestamp of when the event transpired.

type
Type type;

The event type, signifying what *kind* of event this is.

Meta