fix(Core/Commands): correct header PlayerCommand.h file structure (#8947)
This commit is contained in:
parent
21214d12c8
commit
1b49a1eda2
2 changed files with 11 additions and 1 deletions
|
|
@ -15,10 +15,10 @@
|
|||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "PlayerCommand.h"
|
||||
#include "Chat.h"
|
||||
#include "Language.h"
|
||||
#include "Player.h"
|
||||
#include "PlayerCommand.h"
|
||||
#include "ScriptMgr.h"
|
||||
|
||||
bool PlayerCommand::Learn(ChatHandler* handler, Player* targetPlayer, uint32 spell, char const* all)
|
||||
|
|
|
|||
|
|
@ -15,9 +15,19 @@
|
|||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef _PLAYER_COMMAND_H_
|
||||
#define _PLAYER_COMMAND_H_
|
||||
|
||||
#include "Define.h"
|
||||
|
||||
class ChatHandler;
|
||||
class Player;
|
||||
|
||||
class PlayerCommand
|
||||
{
|
||||
public:
|
||||
static bool Learn(ChatHandler* handler, Player* targetPlayer, uint32 spell, char const* all);
|
||||
static bool UnLearn(ChatHandler* handler, Player* targetPlayer, uint32 spell, char const* all);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue