mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-16 18:40:28 +00:00
fix(Scripts/Player): some refactor related to PlayerCommand functions (#8975)
This commit is contained in:
@@ -15,19 +15,19 @@
|
||||
* with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef _PLAYER_COMMAND_H_
|
||||
#define _PLAYER_COMMAND_H_
|
||||
#ifndef _PLAYER_COMMAND_H
|
||||
#define _PLAYER_COMMAND_H
|
||||
#include "Chat.h"
|
||||
#include "Player.h"
|
||||
|
||||
#include "Define.h"
|
||||
|
||||
class ChatHandler;
|
||||
class Player;
|
||||
|
||||
class PlayerCommand
|
||||
namespace Acore
|
||||
{
|
||||
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);
|
||||
// Used in player/character commands
|
||||
namespace PlayerCommand
|
||||
{
|
||||
bool HandleLearnSpellCommand(ChatHandler* handler, Player* targetPlayer, uint32 spell, char const* all);
|
||||
bool HandleUnlearnSpellCommand(ChatHandler* handler, Player* targetPlayer, uint32 spell, char const* all);
|
||||
};
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // _PLAYER_COMMAND_H
|
||||
Reference in New Issue
Block a user