mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-02-01 18:03:47 +00:00
Suggest dungeon implementation + log action unknown to help debug
This commit is contained in:
@@ -30,7 +30,6 @@ class SuggestWhatToDoAction : public InventoryAction
|
||||
std::vector<uint32> GetIncompletedQuests();
|
||||
|
||||
private:
|
||||
static std::map<std::string, uint8> instances;
|
||||
static std::map<std::string, uint8> factions;
|
||||
const int32_t _dbc_locale;
|
||||
};
|
||||
@@ -44,4 +43,15 @@ class SuggestTradeAction : public SuggestWhatToDoAction
|
||||
bool isUseful() override { return true; }
|
||||
};
|
||||
|
||||
class SuggestDungeonAction : public SuggestWhatToDoAction
|
||||
{
|
||||
public:
|
||||
SuggestDungeonAction(PlayerbotAI* botAI);
|
||||
|
||||
bool Execute(Event event) override;
|
||||
bool isUseful() override { return true; }
|
||||
private:
|
||||
static std::map<std::string, uint8> instances;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user