mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-02-20 10:34:35 +00:00
[HOT FIX] MS build issues regarding folder / command lenght usage or rc.exe (#2038)
This commit is contained in:
20
src/Ai/Base/Actions/UnlockTradedItemAction.h
Normal file
20
src/Ai/Base/Actions/UnlockTradedItemAction.h
Normal file
@@ -0,0 +1,20 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user