mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-27 07:26:23 +00:00
21 lines
469 B
C++
21 lines
469 B
C++
#ifndef _PLAYERBOT_RAIDAQ20ACTIONCONTEXT_H
|
|
#define _PLAYERBOT_RAIDAQ20ACTIONCONTEXT_H
|
|
|
|
#include "Action.h"
|
|
#include "NamedObjectContext.h"
|
|
#include "RaidAq20Actions.h"
|
|
|
|
class RaidAq20ActionContext : public NamedObjectContext<Action>
|
|
{
|
|
public:
|
|
RaidAq20ActionContext()
|
|
{
|
|
creators["aq20 use crystal"] = &RaidAq20ActionContext::use_crystal;
|
|
}
|
|
|
|
private:
|
|
static Action* use_crystal(PlayerbotAI* ai) { return new Aq20UseCrystalAction(ai); }
|
|
};
|
|
|
|
#endif
|