| 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 |
|---|
OnChat Source codeCalled when someone in the channel talks.
OnMode Source codeCalled when something in the channel changes.
OnTimeout Source codeCalled on timeout. Used internally.
| Functions Detail |
|---|
BeginState ConnectionEstablished Source codeClear the queues and network info.
BeginState InChannel Source codeClear the queues and network info.
Chomp Source codeRemoves a leading ":" from a string.
ClearTimeout Source codeClears a timeout delay.
Closed ConnectionEstablished Source codeThe server connection has been closed.
Connect Source codeTry to establish a connection to the IRC server.
Connect NotConnected Source codeAlready disconnected. Try to reconnect if desired.
DebugLog Source codeLog debug information.
Disconnect Source codeDisconnect from the currently used IRC server.
Disconnect ConnectionEstablished Source codeDisconnect from the server.
Disconnect InChannel Source codeDisconnect from the server.
Disconnect NotConnected Source codeAlready disconnected. Try to reconnect if desired.
GetNetworkParameter Source codeReturns true if the specified parameter is set on this network and sets Value.
HandleCommand Source codeHandles a string command received from the server.
HandleNumericReply Source codeHandles a numeric message received from the server.
HandleNumericReply ConnectionEstablished Source codeDetects numeric 001 as confirmation for login.
HandleStringReply Source codeHandles a string message received from the server.
HandleStringReply InChannel Source codeDetects when the client joined the channel.
HandleStringReply RegisterationComplete Source codeDetects when the client joined the channel.
ImportantMessagesQueued Source codeReturns whether there are currently important messages in the queue.
IsFlooding Source codeReturns whether the client is flodding the server with messages.
IsTargetChannel Source codeReturn, whether the channel is a target channel.
JoinChannel Source codeJoin a channel.
JoinChannel InChannel Source codeJoin a channel.
JoinChannel RegisterationComplete Source codeJoin a channel.
Opened NotConnected Source codeThe server connection has been opened successfully.
PartChannel Source codeParts the channel.
PartChannel InChannel Source codeParts the channel.
PostBeginPlay Source codeInitializes the IRC socket.
ReceivedLine Source codeLogs the received text.
Registered Source codeCalled when registration was completed.
Registered LoggedIn Source codeCalled when registeration was successful.
Registered RegisterationComplete Source codeUse the global non-state inplementation.
Resolved NotConnected Source codeServer address resolved. Try to connect.
ResolveFailed NotConnected Source codeResolving server address failed.
SendCommand Source codeQueues a command for sending.
SendMessage Source codeSends a message to the channel.
SendText Source codeLogs the sent text.
SetConnection Source codeSets the registration handler class.
SetNick Source codechanges the client's nick name.
SetNick ConnectionEstablished Source codeChanges the client's nick name.
SetRegistrationDetails Source codeSets the registration handler class.
SetTimeout Source codeSets a timeout delay.
Tick Source codeUpdates the current timestamp.
Tick ConnectionEstablished Source codeSend commands when flood protection allows it.
Tick InChannel Source codeSend commands and messages to the channel when flood protection allows it.
UpdateTopic Source codeUpdates 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 | |||||