Files
mod-playerbots/src/strategy/generic/DebugStrategy.h
2024-08-04 12:04:06 +02:00

57 lines
1.6 KiB
C++

/*
* Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU GPL v2 license, you may redistribute it
* and/or modify it under version 2 of the License, or (at your option), any later version.
*/
#ifndef _PLAYERBOT_DEBUGSTRATEGY_H
#define _PLAYERBOT_DEBUGSTRATEGY_H
#include "Strategy.h"
class DebugStrategy : public Strategy
{
public:
DebugStrategy(PlayerbotAI* botAI) : Strategy(botAI) {}
uint32 GetType() const override { return STRATEGY_TYPE_NONCOMBAT; }
std::string const getName() override { return "debug"; }
};
class DebugMoveStrategy : public Strategy
{
public:
DebugMoveStrategy(PlayerbotAI* botAI) : Strategy(botAI) {}
uint32 GetType() const override { return STRATEGY_TYPE_NONCOMBAT; }
std::string const getName() override { return "debug move"; }
};
class DebugRpgStrategy : public Strategy
{
public:
DebugRpgStrategy(PlayerbotAI* botAI) : Strategy(botAI) {}
uint32 GetType() const override { return STRATEGY_TYPE_NONCOMBAT; }
std::string const getName() override { return "debug rpg"; }
};
class DebugSpellStrategy : public Strategy
{
public:
DebugSpellStrategy(PlayerbotAI* botAI) : Strategy(botAI) {}
uint32 GetType() const override { return STRATEGY_TYPE_NONCOMBAT; }
std::string const getName() override { return "debug spell"; }
};
class DebugQuestStrategy : public Strategy
{
public:
DebugQuestStrategy(PlayerbotAI* botAI) : Strategy(botAI) { }
uint32 GetType() const override { return STRATEGY_TYPE_NONCOMBAT | STRATEGY_TYPE_COMBAT; }
std::string const getName() override { return "debug quest"; }
};
#endif