fix(Core/Commands): correct header PlayerCommand.h file structure (#8947)

This commit is contained in:
Kargatum 2021-11-05 04:39:32 +07:00 committed by GitHub
parent 21214d12c8
commit 1b49a1eda2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 1 deletions

View file

@ -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)

View file

@ -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