Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |
Copyright (c) 2005-2007 by Wormbo
Core.Object | +-- Engine.Actor | +-- Engine.Info | +-- Engine.InternetInfo | +-- IpDrv.InternetLink | +-- IpDrv.TcpLink | +-- WormbotReporter.WIR_IRCBase | +-- WormbotReporter.WIR_IRCConnection
Constants Summary | ||
---|---|---|
MILLISECONDS_PER_WEEK | = | 604800000 |
Variables Summary | |
---|---|
bool | bAutoReconnect |
bool | bAutoRejoin |
bool | bDebugStartMatch |
bool | bNoChannelCodes |
bool | bNoChannelColor |
bool | bRegistered |
int | ChannelJoinTime |
string | ChannelKey |
string | ChannelName |
string | ChannelTopic |
array<string> | CommandQueue |
int | ConnectTimeout |
string | DebugLogFileName |
int | FloodProtectBytes |
int | FloodProtectBytesDuration |
int | FloodProtectCommandPenalty |
int | FloodProtectMaxPenalty |
int | FloodProtectMessagePenalty |
string | LastTopicTemplate |
FileLog | LogFile |
int | MaxLenMessageQueue |
array<TMessage> | MessageQueue |
string | MsgBotFlooding |
string | MsgBotJoinChat |
string | MsgBotJoinChatTwoWay |
string | MsgBotJoinReport |
string | MsgBotJoinReportChat |
string | MsgBotJoinReportChatTwoWay |
MutWormbot | MyMutator |
array<TKeyValuePair> | NetworkParameters |
string | RealServerName |
int | ReconnectDelay |
WIR_RegistrationHandler | RegistrationHandler |
int | SendLimitTime |
array<TSentBytes> | SentBytes |
IpAddr | ServerAddress |
string | ServerName |
string | ServerPassword |
int | TimestampNow |
int | TimestampTimeout |
string | UserIdent |
string | UserNick |
Inherited Variables from IpDrv.TcpLink |
---|
AcceptClass, LinkState, RecvBuf, RemoteAddr, SendFIFO |
Enumerations Summary | ||
---|---|---|
EModeType MT_Unknown, MT_Join, MT_Part, MT_Quit, MT_Kick, MT_Nick, |
Inherited Enumerations from IpDrv.TcpLink |
---|
ELinkState |
Structures Summary | ||
---|---|---|
TKeyValuePair Key, Value | ||
TMessage Message, Timestamp, bImportant | ||
TSentBytes Timestamp, Length |
Delegates Summary | ||
---|---|---|
OnChat (string Nick, string Message) | ||
OnMode (EModeType Type, string Nick, optional string Message) | ||
OnTimeout ())) |
Functions Summary | ||
---|---|---|
BeginState ())) ConnectionEstablished | ||
BeginState ())) InChannel | ||
string | Chomp (string S)) | |
ClearTimeout ())) | ||
Closed ())) ConnectionEstablished | ||
Connect () | ||
Connect ())) NotConnected | ||
DebugLog (string S)) | ||
Disconnect (bool bReconnect, string QuitMessage) | ||
Disconnect (bool bReconnect, string QuitMessage)) ConnectionEstablished | ||
Disconnect (bool bReconnect, string QuitMessage)) InChannel | ||
Disconnect (bool bReconnect, string QuitMessage)) NotConnected | ||
bool | GetNetworkParameter (string Key, out string Value)) | |
HandleCommand (string Command, string Parameters)) | ||
HandleNumericReply (int Command, string Server, string Target, string Parameters)) | ||
HandleNumericReply (int Command, string Server, string Target, string Parameters)) ConnectionEstablished | ||
HandleStringReply (string Command, string Server, string Target, string Parameters)) | ||
HandleStringReply (string Command, string Server, string Target, string Parameters)) InChannel | ||
HandleStringReply (string Command, string Server, string Target, string Parameters)) RegisterationComplete | ||
bool | ImportantMessagesQueued ())) | |
bool | IsFlooding (int LenNextCommand)) | |
bool | IsTargetChannel (string Target)) | |
JoinChannel (string Channel, string Key)) | ||
JoinChannel (string Channel, string Key)) InChannel | ||
JoinChannel (string Channel, string Key)) RegisterationComplete | ||
Opened ())) NotConnected | ||
PartChannel ())) | ||
PartChannel ())) InChannel | ||
PostBeginPlay ())) | ||
ReceivedLine (string Line)) | ||
Registered () | ||
Registered ())) LoggedIn | ||
Registered ())) RegisterationComplete | ||
Resolved (IpAddr Address)) NotConnected | ||
ResolveFailed ())) NotConnected | ||
SendCommand (string Command, bool bIsCommand, optional bool bImportant)) | ||
SendMessage (string Message, optional bool bImportant)) | ||
int | SendText (string Line)) | |
SetConnection (string Server, int Port, string Password, string Nick, string Ident)) | ||
SetNick (string NewNick)) | ||
SetNick (string NewNick)) ConnectionEstablished | ||
SetRegistrationDetails (class<WIR_RegistrationHandler> HandlerClass, string RegistrationDetails)) | ||
SetTimeout (float TimeoutSeconds)) | ||
Tick (float DeltaTime)) | ||
Tick (float DeltaTime)) ConnectionEstablished | ||
Tick (float DeltaTime)) InChannel | ||
UpdateTopic (optional bool bLeaving)) |
Inherited Functions from IpDrv.TcpLink |
---|
Accepted, BindPort, Close, Closed, IsConnected, Listen, Open, Opened, ReadBinary, ReadText, ReceivedBinary, ReceivedLine, ReceivedText, SendBinary, SendText |
States Summary |
---|
ConnectionEstablished Source code |
---|
state ConnectionEstablished |
BeginState, Closed, Disconnect, HandleNumericReply, SetNick, Tick |
InChannel Source code |
---|
state InChannel extends RegisterationComplete |
BeginState, Disconnect, HandleStringReply, JoinChannel, PartChannel, Tick |
LoggedIn Source code |
---|
state LoggedIn extends ConnectionEstablished |
Registered |
NotConnected Source code |
---|
auto state NotConnected |
Connect, Disconnect, Opened, Resolved, ResolveFailed |
RegisterationComplete Source code |
---|
state RegisterationComplete extends LoggedIn |
HandleStringReply, JoinChannel, Registered |
Constants Detail |
---|
Number of milliseconds per week. Used to handle time intervals at Level.DayOfWeek wrap-around
Variables Detail |
---|
Whether this client already registered on the server.
Timestamp when the channel was joined to delay the first message.
Password required to join the channel.
Name of the channel to join after login and registration.
Channel topic received from the server.
Holds the commands to be sent as soon as the flood protection allows.
Log file handle
Holds other messages to be sent when no commands are queued.
Parameters used by this server.
DNS name of IRC server as reported by the server itself.
Handles the registration on the IRC server.
Simple flood protection. If this is more than 10s ahead of the current timestamp, nothing is sent this tick.
Bytes sent in the last few seconds.
Resolved server address and port.
DNS name of IRC server.
Password required to connect to the server.
Current timestamp.
Tracks timeouts.
User ident
User's current nick name
Enumerations Detail |
---|
Structures Detail |
---|
Delegates Detail |
---|
Called when someone in the channel talks.
Called when something in the channel changes.
Called on timeout. Used internally.
Functions Detail |
---|
Clear the queues and network info.
Clear the queues and network info.
Removes a leading ":" from a string.
Clears a timeout delay.
The server connection has been closed.
Try to establish a connection to the IRC server.
Already disconnected. Try to reconnect if desired.
Log debug information.
Disconnect from the currently used IRC server.
Disconnect from the server.
Disconnect from the server.
Already disconnected. Try to reconnect if desired.
Returns true if the specified parameter is set on this network and sets Value.
Handles a string command received from the server.
Handles a numeric message received from the server.
Detects numeric 001 as confirmation for login.
Handles a string message received from the server.
Detects when the client joined the channel.
Detects when the client joined the channel.
Returns whether there are currently important messages in the queue.
Returns whether the client is flodding the server with messages.
Return, whether the channel is a target channel.
Join a channel.
Join a channel.
Join a channel.
The server connection has been opened successfully.
Parts the channel.
Parts the channel.
Initializes the IRC socket.
Logs the received text.
Called when registration was completed.
Called when registeration was successful.
Use the global non-state inplementation.
Server address resolved. Try to connect.
Resolving server address failed.
Queues a command for sending.
Sends a message to the channel.
Logs the sent text.
Sets the registration handler class.
changes the client's nick name.
Changes the client's nick name.
Sets the registration handler class.
Sets a timeout delay.
Updates the current timestamp.
Send commands when flood protection allows it.
Send commands and messages to the channel when flood protection allows it.
Updates the channel topic.
Defaultproperties |
---|
defaultproperties { bAlwaysTick = True MsgBotJoinChat = "[^B]%m[^B] - relaying chat from [^B]%s[^B]" MsgBotJoinChatTwoWay = "[^B]%m[^B] - relaying chat from and to [^B]%s[^B]" MsgBotJoinReport = "[^B]%m[^B] - reporting from [^B]%s[^B]" MsgBotJoinReportChat = "[^B]%m[^B] - reporting and relaying chat from [^B]%s[^B]" MsgBotJoinReportChatTwoWay = "[^B]%m[^B] - reporting and relaying chat from and to [^B]%s[^B]" MsgBotFlooding = "[^B]I had to drop some messages to catch up.[^B]" } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |