mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-02-04 19:33:47 +00:00
[HOT FIX] MS build issues regarding folder / command lenght usage or rc.exe (#2038)
This commit is contained in:
43
src/Ai/Base/Trigger/StuckTriggers.h
Normal file
43
src/Ai/Base/Trigger/StuckTriggers.h
Normal file
@@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU AGPL v3 license, you may redistribute it
|
||||
* and/or modify it under version 3 of the License, or (at your option), any later version.
|
||||
*/
|
||||
|
||||
#ifndef _PLAYERBOT_STUCKTRIGGERS_H
|
||||
#define _PLAYERBOT_STUCKTRIGGERS_H
|
||||
|
||||
#include "Trigger.h"
|
||||
|
||||
class MoveStuckTrigger : public Trigger
|
||||
{
|
||||
public:
|
||||
MoveStuckTrigger(PlayerbotAI* botAI) : Trigger(botAI, "move stuck", 5) {}
|
||||
|
||||
bool IsActive() override;
|
||||
};
|
||||
|
||||
class MoveLongStuckTrigger : public Trigger
|
||||
{
|
||||
public:
|
||||
MoveLongStuckTrigger(PlayerbotAI* botAI) : Trigger(botAI, "move long stuck", 5) {}
|
||||
|
||||
bool IsActive() override;
|
||||
};
|
||||
|
||||
class CombatStuckTrigger : public Trigger
|
||||
{
|
||||
public:
|
||||
CombatStuckTrigger(PlayerbotAI* botAI) : Trigger(botAI, "combat stuck", 5) {}
|
||||
|
||||
bool IsActive() override;
|
||||
};
|
||||
|
||||
class CombatLongStuckTrigger : public Trigger
|
||||
{
|
||||
public:
|
||||
CombatLongStuckTrigger(PlayerbotAI* botAI) : Trigger(botAI, "combat long stuck", 5) {}
|
||||
|
||||
bool IsActive() override;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user