better.doc
[tfs.git] / tools / tfsnd / SmartIrc4net / Consts.cs
blob1cfd73469de2c424975b86fe03fdeb1797d373bc
1 /*
2 * $Id: Consts.cs 198 2005-06-08 16:50:11Z meebey $
3 * $URL: svn://svn.qnetp.net/smartirc/SmartIrc4net/tags/0.4.0/src/Consts.cs $
4 * $Rev: 198 $
5 * $Author: meebey $
6 * $Date: 2005-06-08 18:50:11 +0200 (Wed, 08 Jun 2005) $
8 * SmartIrc4net - the IRC library for .NET/C# <http://smartirc4net.sf.net>
10 * Copyright (c) 2003-2005 Mirco Bauer <meebey@meebey.net> <http://www.meebey.net>
12 * Full LGPL License: <http://www.gnu.org/licenses/lgpl.txt>
14 * This library is free software; you can redistribute it and/or
15 * modify it under the terms of the GNU Lesser General Public
16 * License as published by the Free Software Foundation; either
17 * version 2.1 of the License, or (at your option) any later version.
19 * This library is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
22 * Lesser General Public License for more details.
24 * You should have received a copy of the GNU Lesser General Public
25 * License along with this library; if not, write to the Free Software
26 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
29 namespace Meebey.SmartIrc4net
31 /// <summary>
32 ///
33 /// </summary>
34 public enum Priority
36 Low,
37 BelowMedium,
38 Medium,
39 AboveMedium,
40 High,
41 Critical
44 /// <summary>
45 ///
46 /// </summary>
47 public enum SendType
49 Message,
50 Action,
51 Notice,
52 CtcpReply,
53 CtcpRequest
56 /// <summary>
57 ///
58 /// </summary>
59 public enum ReceiveType
61 Info,
62 Login,
63 Motd,
64 List,
65 Join,
66 Kick,
67 Part,
68 Invite,
69 Quit,
70 Who,
71 WhoIs,
72 WhoWas,
73 Name,
74 Topic,
75 BanList,
76 NickChange,
77 TopicChange,
78 UserMode,
79 UserModeChange,
80 ChannelMode,
81 ChannelModeChange,
82 ChannelMessage,
83 ChannelAction,
84 ChannelNotice,
85 QueryMessage,
86 QueryAction,
87 QueryNotice,
88 CtcpReply,
89 CtcpRequest,
90 Error,
91 ErrorMessage,
92 Unknown
95 /// <summary>
96 ///
97 /// </summary>
98 public enum ReplyCode: int
100 Null = 000,
101 Welcome = 001,
102 YourHost = 002,
103 Created = 003,
104 MyInfo = 004,
105 Bounce = 005,
106 TraceLink = 200,
107 TraceConnecting = 201,
108 TraceHandshake = 202,
109 TraceUnknown = 203,
110 TraceOperator = 204,
111 TraceUser = 205,
112 TraceServer = 206,
113 TraceService = 207,
114 TraceNewType = 208,
115 TraceClass = 209,
116 TraceReconnect = 210,
117 StatsLinkInfo = 211,
118 StatsCommands = 212,
119 EndOfStats = 219,
120 UserModeIs = 221,
121 ServiceList = 234,
122 ServiceListEnd = 235,
123 StatsUptime = 242,
124 StatsOLine = 243,
125 LuserClient = 251,
126 LuserOp = 252,
127 LuserUnknown = 253,
128 LuserChannels = 254,
129 LuserMe = 255,
130 AdminMe = 256,
131 AdminLocation1 = 257,
132 AdminLocation2 = 258,
133 AdminEmail = 259,
134 TraceLog = 261,
135 TraceEnd = 262,
136 TryAgain = 263,
137 Away = 301,
138 UserHost = 302,
139 IsOn = 303,
140 UnAway = 305,
141 NowAway = 306,
142 WhoIsUser = 311,
143 WhoIsServer = 312,
144 WhoIsOperator = 313,
145 WhoWasUser = 314,
146 EndOfWho = 315,
147 WhoIsIdle = 317,
148 EndOfWhoIs = 318,
149 WhoIsChannels = 319,
150 ListStart = 321,
151 List = 322,
152 ListEnd = 323,
153 ChannelModeIs = 324,
154 UniqueOpIs = 325,
155 NoTopic = 331,
156 Topic = 332,
157 Inviting = 341,
158 Summoning = 342,
159 InviteList = 346,
160 EndOfInviteList = 347,
161 ExceptionList = 348,
162 EndOfExceptionList = 349,
163 Version = 351,
164 WhoReply = 352,
165 NamesReply = 353,
166 Links = 364,
167 EndOfLinks = 365,
168 EndOfNames = 366,
169 BanList = 367,
170 EndOfBanList = 368,
171 EndOfWhoWas = 369,
172 Info = 371,
173 Motd = 372,
174 EndOfInfo = 374,
175 MotdStart = 375,
176 EndOfMotd = 376,
177 YouAreOper = 381,
178 Rehashing = 382,
179 YouAreService = 383,
180 Time = 391,
181 UsersStart = 392,
182 Users = 393,
183 EndOfUsers = 394,
184 NoUsers = 395,
185 ErrorNoSuchNickname = 401,
186 ErrorNoSuchServer = 402,
187 ErrorNoSuchChannel = 403,
188 ErrorCannotSendToChannel = 404,
189 ErrorTooManyChannels = 405,
190 ErrorWasNoSuchNickname = 406,
191 ErrorTooManyTargets = 407,
192 ErrorNoSuchService = 408,
193 ErrorNoOrigin = 409,
194 ErrorNoRecipient = 411,
195 ErrorNoTextToSend = 412,
196 ErrorNoTopLevel = 413,
197 ErrorWildTopLevel = 414,
198 ErrorBadMask = 415,
199 ErrorUnknownCommand = 421,
200 ErrorNoMotd = 422,
201 ErrorNoAdminInfo = 423,
202 ErrorFileError = 424,
203 ErrorNoNicknameGiven = 431,
204 ErrorErroneusNickname = 432,
205 ErrorNicknameInUse = 433,
206 ErrorNicknameCollision = 436,
207 ErrorUnavailableResource = 437,
208 ErrorUserNotInChannel = 441,
209 ErrorNotOnChannel = 442,
210 ErrorUserOnChannel = 443,
211 ErrorNoLogin = 444,
212 ErrorSummonDisabled = 445,
213 ErrorUsersDisabled = 446,
214 ErrorNotRegistered = 451,
215 ErrorNeedMoreParams = 461,
216 ErrorAlreadyRegistered = 462,
217 ErrorNoPermissionForHost = 463,
218 ErrorPasswordMismatch = 464,
219 ErrorYouAreBannedCreep = 465,
220 ErrorYouWillBeBanned = 466,
221 ErrorKeySet = 467,
222 ErrorChannelIsFull = 471,
223 ErrorUnknownMode = 472,
224 ErrorInviteOnlyChannel = 473,
225 ErrorBannedFromChannel = 474,
226 ErrorBadChannelKey = 475,
227 ErrorBadChannelMask = 476,
228 ErrorNoChannelModes = 477,
229 ErrorBanListFull = 478,
230 ErrorNoPrivileges = 481,
231 ErrorChannelOpPrivilegesNeeded = 482,
232 ErrorCannotKillServer = 483,
233 ErrorRestricted = 484,
234 ErrorUniqueOpPrivilegesNeeded = 485,
235 ErrorNoOperHost = 491,
236 ErrorUserModeUnknownFlag = 501,
237 ErrorUsersDoNotMatch = 502