mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-02-12 06:43:45 +00:00
23 lines
712 B
C++
23 lines
712 B
C++
#ifndef _PLAYERBOT_RAIDBWLTRIGGERCONTEXT_H
|
|
#define _PLAYERBOT_RAIDBWLTRIGGERCONTEXT_H
|
|
|
|
#include "AiObjectContext.h"
|
|
#include "NamedObjectContext.h"
|
|
#include "RaidBwlTriggers.h"
|
|
|
|
class RaidBwlTriggerContext : public NamedObjectContext<Trigger>
|
|
{
|
|
public:
|
|
RaidBwlTriggerContext()
|
|
{
|
|
creators["bwl suppression device"] = &RaidBwlTriggerContext::bwl_suppression_device;
|
|
creators["bwl affliction bronze"] = &RaidBwlTriggerContext::bwl_affliction_bronze;
|
|
}
|
|
|
|
private:
|
|
static Trigger* bwl_suppression_device(PlayerbotAI* ai) { return new BwlSuppressionDeviceTrigger(ai); }
|
|
static Trigger* bwl_affliction_bronze(PlayerbotAI* ai) { return new BwlAfflictionBronzeTrigger(ai); }
|
|
};
|
|
|
|
#endif
|