9
3

IRCReplyCodes.h 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /*
  2. EQ2Emulator: Everquest II Server Emulator
  3. Copyright (C) 2007 EQ2EMulator Development Team (http://www.eq2emulator.net)
  4. This file is part of EQ2Emulator.
  5. EQ2Emulator is free software: you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation, either version 3 of the License, or
  8. (at your option) any later version.
  9. EQ2Emulator is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with EQ2Emulator. If not, see <http://www.gnu.org/licenses/>.
  15. */
  16. #ifndef IRC_IRCREPLYCODES_H_
  17. #define IRC_IRCREPLYCODES_H_
  18. //the following are eq2emu specific irc reply codes
  19. #define IRC_CONNECT_SUCCESS 0
  20. #define IRC_CONNECT_ALREADY_CONNECTED 1 //already connected to this server
  21. #define IRC_CONNECT_NO_NICK 2 //a nick was never given
  22. #define IRC_CONNECT_WINSOCK_INIT 3 //couldn't initialize winsock
  23. #define IRC_CONNECT_WINSOCK_VERSION 4 //couldn't find the version of winsock we want
  24. #define IRC_CONNECT_SOCKET 5 //couldn't create a socket
  25. #define IRC_CONNECT_NO_HOST 6 //couldn't find the hostname
  26. #define IRC_CONNECT_FAIL 7 //failure connecting
  27. #define IRC_CONNECT_SOCKET_OPT 8 //couldn't set socket options
  28. #define IRC_JOIN_CHANNEL_SUCCESS 0
  29. #define IRC_JOIN_CHANNEL_ALREADY_IN 1 //already in the channel
  30. #define IRC_LEAVE_CHANNEL_SUCCESS 0
  31. #define IRC_LEAVE_CHANNEL_NOT_IN 1 //was never in the channel
  32. #define IRC_SAY_SUCCESS 0
  33. #define IRC_SAY_NOT_IN 1 //was never the channel
  34. #endif