Exported forgotten API functions in cPluginManager: ExecuteCommand(), ForceExecuteCommand()

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1212 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
madmaxoft@gmail.com
2013-02-13 20:05:57 +00:00
parent 90cec2146a
commit 6aadbef815
3 changed files with 80 additions and 4 deletions
+2 -2
View File
@@ -166,10 +166,10 @@ public: // tolua_export
AString GetCommandPermission(const AString & a_Command); // tolua_export
/// Executes the command, as if it was requested by a_Player. Checks permissions first. Returns true if executed.
bool ExecuteCommand(cPlayer * a_Player, const AString & a_Command);
bool ExecuteCommand(cPlayer * a_Player, const AString & a_Command); // tolua_export
/// Executes the command, as if it was requested by a_Player. Permisssions are not checked. Returns true if executed (false if not found)
bool ForceExecuteCommand(cPlayer * a_Player, const AString & a_Command);
bool ForceExecuteCommand(cPlayer * a_Player, const AString & a_Command); // tolua_export
private:
friend class cRoot;