mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-02-16 08:36:10 +00:00
[FIX] Finalized structure! (do not start fixing PR merge structure conflict till this is merged) (#2025)
Finalized
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU AGPL v3 license, you may redistribute it
|
||||
* and/or modify it under version 3 of the License, or (at your option), any later version.
|
||||
*/
|
||||
|
||||
#ifndef _PLAYERBOT_LOOTNONCOMBATSTRATEGY_H
|
||||
#define _PLAYERBOT_LOOTNONCOMBATSTRATEGY_H
|
||||
|
||||
#include "Strategy.h"
|
||||
|
||||
class PlayerbotAI;
|
||||
|
||||
class LootNonCombatStrategy : public Strategy
|
||||
{
|
||||
public:
|
||||
LootNonCombatStrategy(PlayerbotAI* botAI) : Strategy(botAI) {}
|
||||
|
||||
void InitTriggers(std::vector<TriggerNode*>& triggers) override;
|
||||
std::string const getName() override { return "loot"; }
|
||||
};
|
||||
|
||||
class GatherStrategy : public Strategy
|
||||
{
|
||||
public:
|
||||
GatherStrategy(PlayerbotAI* botAI) : Strategy(botAI) {}
|
||||
|
||||
void InitTriggers(std::vector<TriggerNode*>& triggers) override;
|
||||
std::string const getName() override { return "gather"; }
|
||||
};
|
||||
|
||||
class RevealStrategy : public Strategy
|
||||
{
|
||||
public:
|
||||
RevealStrategy(PlayerbotAI* botAI) : Strategy(botAI) {}
|
||||
|
||||
void InitTriggers(std::vector<TriggerNode*>& triggers) override;
|
||||
std::string const getName() override { return "reveal"; }
|
||||
};
|
||||
|
||||
class UseBobberStrategy : public Strategy
|
||||
{
|
||||
public:
|
||||
UseBobberStrategy(PlayerbotAI* botAI) : Strategy(botAI){}
|
||||
uint32 GetType() const override { return STRATEGY_TYPE_NONCOMBAT; }
|
||||
void InitTriggers(std::vector<TriggerNode*>& triggers) override;
|
||||
std::string const getName() override {return "use bobber";}
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user