Files
mod-playerbots/src/strategy/generic/MaintenanceStrategy.h
2024-08-04 10:23:36 +08:00

25 lines
752 B
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_MAINTANCESTRATEGY_H
#define _PLAYERBOT_MAINTANCESTRATEGY_H
#include "NonCombatStrategy.h"
class PlayerbotAI;
class MaintenanceStrategy : public NonCombatStrategy
{
public:
MaintenanceStrategy(PlayerbotAI* botAI) : NonCombatStrategy(botAI) {}
std::string const getName() override { return "maintenance"; }
uint32 GetType() const override { return STRATEGY_TYPE_NONCOMBAT; }
NextAction** getDefaultActions() override;
void InitTriggers(std::vector<TriggerNode*>& triggers) override;
};
#endif