mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-16 18:30:27 +00:00
21 lines
404 B
C++
21 lines
404 B
C++
#ifndef _PLAYERBOT_UNLOCKTRADEDITEMACTION_H
|
|
#define _PLAYERBOT_UNLOCKTRADEDITEMACTION_H
|
|
|
|
#include "Action.h"
|
|
|
|
class PlayerbotAI;
|
|
|
|
class UnlockTradedItemAction : public Action
|
|
{
|
|
public:
|
|
UnlockTradedItemAction(PlayerbotAI* botAI) : Action(botAI, "unlock traded item") {}
|
|
|
|
bool Execute(Event event) override;
|
|
|
|
private:
|
|
bool CanUnlockItem(Item* item);
|
|
void UnlockItem(Item* item);
|
|
};
|
|
|
|
#endif
|