45 lines
1.3 KiB
C
45 lines
1.3 KiB
C
// Copyright (C) 2007-2025 EQ2EMulator
|
|
// Licensed under GPL v3
|
|
|
|
#ifndef _CONSOLECOMMANDS_H
|
|
#define _CONSOLECOMMANDS_H
|
|
|
|
#include "../../common/seperator.h"
|
|
|
|
struct ConsoleCommand
|
|
{
|
|
bool(*CommandPointer)(Seperator *);
|
|
const char * Name; // 10 chars
|
|
const char * ParameterFormat; // 30 chars
|
|
const char * Description; // 40 chars
|
|
// = 70 chars
|
|
};
|
|
|
|
void ProcessConsoleInput(const char * command);
|
|
|
|
bool ConsoleBanCommand(Seperator *sep);
|
|
bool ConsoleUnbanCommand(Seperator *sep);
|
|
bool ConsoleKickCommand(Seperator *sep);
|
|
|
|
bool ConsoleAnnounceCommand(Seperator *sep);
|
|
bool ConsoleBroadcastCommand(Seperator *sep);
|
|
bool ConsoleChannelCommand(Seperator *sep);
|
|
bool ConsoleTellCommand(Seperator *sep);
|
|
|
|
bool ConsoleGuildCommand(Seperator *sep);
|
|
bool ConsolePlayerCommand(Seperator *sep);
|
|
bool ConsoleSetAdminPlayer(Seperator *sep);
|
|
bool ConsoleWorldCommand(Seperator *sep);
|
|
bool ConsoleZoneCommand(Seperator *sep);
|
|
bool ConsoleGetMOTDCommand(Seperator *sep);
|
|
bool ConsoleSetMOTDCommand(Seperator *sep);
|
|
bool ConsoleWhoCommand(Seperator *sep);
|
|
bool ConsoleReloadCommand(Seperator *sep);
|
|
|
|
bool ConsoleShutdownCommand(Seperator *sep);
|
|
bool ConsoleCancelShutdownCommand(Seperator *sep);
|
|
bool ConsoleExitCommand(Seperator *sep);
|
|
bool ConsoleRulesCommand(Seperator *sep);
|
|
bool ConsoleTestCommand(Seperator *sep);
|
|
|
|
#endif |