summaryrefslogtreecommitdiff
path: root/src/commands.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-07-11 20:49:20 +0300
committerAndrei Karas <akaras@inbox.ru>2013-07-11 20:52:50 +0300
commite36c735ce6569cd9c0e668632e59bcbe3280d507 (patch)
treeeb8fa3f8800d95bcd0c6b3c1ea314567f56debb4 /src/commands.h
parentffd452cd1ee7d252355c259ca2bae1d40c0e97e9 (diff)
downloadManaVerse-e36c735ce6569cd9c0e668632e59bcbe3280d507.tar.gz
ManaVerse-e36c735ce6569cd9c0e668632e59bcbe3280d507.tar.bz2
ManaVerse-e36c735ce6569cd9c0e668632e59bcbe3280d507.tar.xz
ManaVerse-e36c735ce6569cd9c0e668632e59bcbe3280d507.zip
Add chat command for gms for creating items.
New command: /createitems It will open creation window.
Diffstat (limited to 'src/commands.h')
-rw-r--r--src/commands.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/commands.h b/src/commands.h
index 4b0e2a0f8..933b5a918 100644
--- a/src/commands.h
+++ b/src/commands.h
@@ -124,6 +124,7 @@ namespace Commands
decHandler(disableAway);
decHandler(enableAway);
decHandler(testParticle);
+ decHandler(createItems);
void replaceVars(std::string &str);
} // namespace Commands
@@ -215,6 +216,7 @@ enum
COMMAND_SETHOME,
COMMAND_MAGICATTACK,
COMMAND_TEST_PARTICLE,
+ COMMAND_CREATEITEMS,
COMMAND_HACK,
END_COMMANDS
};
@@ -306,6 +308,7 @@ static const CommandInfo commands[] =
{"sethome", nullptr, Input::KEY_SET_HOME, false},
{"magicattack", nullptr, Input::KEY_MAGIC_ATTACK, false},
{"testparticle", &Commands::testParticle, -1, true},
+ {"createitems", &Commands::createItems, -1, false},
{"hack", &Commands::hack, -1, true}
};