9
3

ConsoleCommands.h 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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 _CONSOLECOMMANDS_H
  17. #define _CONSOLECOMMANDS_H
  18. #include "../../common/seperator.h"
  19. struct ConsoleCommand
  20. {
  21. bool(*CommandPointer)(Seperator *);
  22. const char * Name; // 10 chars
  23. const char * ParameterFormat; // 30 chars
  24. const char * Description; // 40 chars
  25. // = 70 chars
  26. };
  27. void ProcessConsoleInput(const char * command);
  28. bool ConsoleBanCommand(Seperator *sep);
  29. bool ConsoleUnbanCommand(Seperator *sep);
  30. bool ConsoleKickCommand(Seperator *sep);
  31. bool ConsoleAnnounceCommand(Seperator *sep);
  32. bool ConsoleBroadcastCommand(Seperator *sep);
  33. bool ConsoleChannelCommand(Seperator *sep);
  34. bool ConsoleTellCommand(Seperator *sep);
  35. bool ConsoleGuildCommand(Seperator *sep);
  36. bool ConsolePlayerCommand(Seperator *sep);
  37. bool ConsoleSetAdminPlayer(Seperator *sep);
  38. bool ConsoleWorldCommand(Seperator *sep);
  39. bool ConsoleZoneCommand(Seperator *sep);
  40. bool ConsoleGetMOTDCommand(Seperator *sep);
  41. bool ConsoleSetMOTDCommand(Seperator *sep);
  42. bool ConsoleWhoCommand(Seperator *sep);
  43. bool ConsoleReloadCommand(Seperator *sep);
  44. bool ConsoleShutdownCommand(Seperator *sep);
  45. bool ConsoleCancelShutdownCommand(Seperator *sep);
  46. bool ConsoleExitCommand(Seperator *sep);
  47. bool ConsoleRulesCommand(Seperator *sep);
  48. bool ConsoleTestCommand(Seperator *sep);
  49. #endif