mirror of
https://github.com/EQEmu/Server.git
synced 2026-08-30 17:58:16 +00:00
Change space indentation to tabs
This commit is contained in:
+39
-39
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
EQEMu: Everquest Server Emulator
|
||||
|
||||
/* EQEMu: Everquest Server Emulator
|
||||
Copyright (C) 2001-2008 EQEMu Development Team (http://eqemulator.net)
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
@@ -11,11 +9,11 @@
|
||||
but WITHOUT ANY WARRANTY except by those people which sell it, which
|
||||
are required to give you total support for your newly bought product;
|
||||
without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
||||
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
*/
|
||||
|
||||
@@ -32,48 +30,50 @@
|
||||
|
||||
#define MAX_JOINED_CHANNELS 10
|
||||
|
||||
enum { CommandJoin = 0, CommandLeaveAll, CommandLeave, CommandListAll, CommandList, CommandSet, CommandAnnounce, CommandSetOwner,
|
||||
CommandOPList, CommandInvite, CommandGrant, CommandModerate, CommandVoice, CommandKick,
|
||||
CommandPassword, CommandToggleInvites, CommandAFK, CommandUptime,
|
||||
CommandGetHeaders, CommandGetBody, CommandMailTo, CommandSetMessageStatus, CommandSelectMailBox,
|
||||
CommandSetMailForwarding, CommandBuddy, CommandIgnorePlayer,
|
||||
CommandEndOfList };
|
||||
enum {
|
||||
CommandJoin = 0, CommandLeaveAll, CommandLeave, CommandListAll, CommandList, CommandSet, CommandAnnounce, CommandSetOwner,
|
||||
CommandOPList, CommandInvite, CommandGrant, CommandModerate, CommandVoice, CommandKick,
|
||||
CommandPassword, CommandToggleInvites, CommandAFK, CommandUptime,
|
||||
CommandGetHeaders, CommandGetBody, CommandMailTo, CommandSetMessageStatus, CommandSelectMailBox,
|
||||
CommandSetMailForwarding, CommandBuddy, CommandIgnorePlayer,
|
||||
CommandEndOfList
|
||||
};
|
||||
|
||||
struct CommandEntry {
|
||||
const char *CommandString;
|
||||
int CommandCode;
|
||||
int CommandCode;
|
||||
};
|
||||
|
||||
typedef enum { ConnectionTypeUnknown, ConnectionTypeCombined, ConnectionTypeMail, ConnectionTypeChat } ConnectionType;
|
||||
|
||||
static const CommandEntry Commands[] = {
|
||||
{ "join", CommandJoin },
|
||||
{ "leaveall", CommandLeaveAll },
|
||||
{ "leave", CommandLeave },
|
||||
{ "listall", CommandListAll },
|
||||
{ "list", CommandList },
|
||||
{ "set", CommandSet },
|
||||
{ "announce", CommandAnnounce },
|
||||
{ "setowner", CommandSetOwner },
|
||||
{ "oplist", CommandOPList },
|
||||
{ "invite", CommandInvite },
|
||||
{ "grant", CommandGrant },
|
||||
{ "moderate", CommandModerate },
|
||||
{ "voice", CommandVoice },
|
||||
{ "kick", CommandKick },
|
||||
{ "password", CommandPassword },
|
||||
{ "toggleinvites", CommandToggleInvites },
|
||||
{ "afk", CommandAFK },
|
||||
{ "uptime", CommandUptime },
|
||||
{ "getheaders", CommandGetHeaders },
|
||||
{ "getbody", CommandGetBody },
|
||||
{ "mailto", CommandMailTo },
|
||||
{ "setmessagestatus", CommandSetMessageStatus },
|
||||
{ "selectmailbox", CommandSelectMailBox },
|
||||
{ "setmailforwarding", CommandSetMailForwarding },
|
||||
{ "buddy", CommandBuddy },
|
||||
{ "ignoreplayer", CommandIgnorePlayer },
|
||||
{ "", CommandEndOfList } };
|
||||
{ "join", CommandJoin },
|
||||
{ "leaveall", CommandLeaveAll },
|
||||
{ "leave", CommandLeave },
|
||||
{ "listall", CommandListAll },
|
||||
{ "list", CommandList },
|
||||
{ "set", CommandSet },
|
||||
{ "announce", CommandAnnounce },
|
||||
{ "setowner", CommandSetOwner },
|
||||
{ "oplist", CommandOPList },
|
||||
{ "invite", CommandInvite },
|
||||
{ "grant", CommandGrant },
|
||||
{ "moderate", CommandModerate },
|
||||
{ "voice", CommandVoice },
|
||||
{ "kick", CommandKick },
|
||||
{ "password", CommandPassword },
|
||||
{ "toggleinvites", CommandToggleInvites },
|
||||
{ "afk", CommandAFK },
|
||||
{ "uptime", CommandUptime },
|
||||
{ "getheaders", CommandGetHeaders },
|
||||
{ "getbody", CommandGetBody },
|
||||
{ "mailto", CommandMailTo },
|
||||
{ "setmessagestatus", CommandSetMessageStatus },
|
||||
{ "selectmailbox", CommandSelectMailBox },
|
||||
{ "setmailforwarding", CommandSetMailForwarding },
|
||||
{ "buddy", CommandBuddy },
|
||||
{ "ignoreplayer", CommandIgnorePlayer },
|
||||
{ "", CommandEndOfList } };
|
||||
|
||||
struct CharacterEntry {
|
||||
int CharID;
|
||||
|
||||
Reference in New Issue
Block a user