mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-08 15:58:04 +00:00
fix(Core/Commands): correct header PlayerCommand.h file structure (#8947)
This commit is contained in:
@@ -15,10 +15,10 @@
|
|||||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "PlayerCommand.h"
|
||||||
#include "Chat.h"
|
#include "Chat.h"
|
||||||
#include "Language.h"
|
#include "Language.h"
|
||||||
#include "Player.h"
|
#include "Player.h"
|
||||||
#include "PlayerCommand.h"
|
|
||||||
#include "ScriptMgr.h"
|
#include "ScriptMgr.h"
|
||||||
|
|
||||||
bool PlayerCommand::Learn(ChatHandler* handler, Player* targetPlayer, uint32 spell, char const* all)
|
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/>.
|
* 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
|
class PlayerCommand
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
static bool Learn(ChatHandler* handler, Player* targetPlayer, uint32 spell, char const* all);
|
static bool Learn(ChatHandler* handler, Player* targetPlayer, uint32 spell, char const* all);
|
||||||
static bool UnLearn(ChatHandler* handler, Player* targetPlayer, uint32 spell, char const* all);
|
static bool UnLearn(ChatHandler* handler, Player* targetPlayer, uint32 spell, char const* all);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user