AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
CreatureGroups.h File Reference
#include "Define.h"
#include "ObjectGuid.h"
#include "Unit.h"
#include <map>
#include <unordered_map>

Go to the source code of this file.

Classes

struct  FormationInfo
 
class  FormationMgr
 
class  CreatureGroup
 

Macros

#define sFormationMgr   FormationMgr::instance()
 

Typedefs

typedef std::unordered_map< ObjectGuid::LowType, FormationInfoCreatureGroupInfoType
 

Enumerations

enum class  GroupAIFlags : uint16 {
  GROUP_AI_FLAG_MEMBER_ASSIST_LEADER = 0x001 ,
  GROUP_AI_FLAG_LEADER_ASSIST_MEMBER = 0x002 ,
  GROUP_AI_FLAG_EVADE_TOGETHER = 0x004 ,
  GROUP_AI_FLAG_RESPAWN_ON_EVADE = 0x008 ,
  GROUP_AI_FLAG_DONT_RESPAWN_LEADER_ON_EVADE = 0x010 ,
  GROUP_AI_FLAG_ACQUIRE_NEW_TARGET_ON_EVADE = 0x020 ,
  GROUP_AI_FLAG_FOLLOW_LEADER = 0x200 ,
  GROUP_AI_FLAG_ASSIST_MASK = GROUP_AI_FLAG_MEMBER_ASSIST_LEADER | GROUP_AI_FLAG_LEADER_ASSIST_MEMBER ,
  GROUP_AI_FLAG_EVADE_MASK = GROUP_AI_FLAG_EVADE_TOGETHER | GROUP_AI_FLAG_RESPAWN_ON_EVADE ,
  GROUP_AI_FLAG_SUPPORTED
}
 

Macro Definition Documentation

◆ sFormationMgr

#define sFormationMgr   FormationMgr::instance()

Typedef Documentation

◆ CreatureGroupInfoType

Enumeration Type Documentation

◆ GroupAIFlags

enum class GroupAIFlags : uint16
strong
Enumerator
GROUP_AI_FLAG_MEMBER_ASSIST_LEADER 
GROUP_AI_FLAG_LEADER_ASSIST_MEMBER 
GROUP_AI_FLAG_EVADE_TOGETHER 
GROUP_AI_FLAG_RESPAWN_ON_EVADE 
GROUP_AI_FLAG_DONT_RESPAWN_LEADER_ON_EVADE 
GROUP_AI_FLAG_ACQUIRE_NEW_TARGET_ON_EVADE 
GROUP_AI_FLAG_FOLLOW_LEADER 
GROUP_AI_FLAG_ASSIST_MASK 
GROUP_AI_FLAG_EVADE_MASK 
GROUP_AI_FLAG_SUPPORTED 
31{
38 //GROUP_AI_FLAG_UNK5 = 0x040,
39 //GROUP_AI_FLAG_UNK6 = 0x080,
40 //GROUP_AI_FLAG_UNK7 = 0x100,
42
45
46 // Used to verify valid and usable flags
49};
@ GROUP_AI_FLAG_ACQUIRE_NEW_TARGET_ON_EVADE
@ GROUP_AI_FLAG_LEADER_ASSIST_MEMBER
@ GROUP_AI_FLAG_EVADE_MASK
@ GROUP_AI_FLAG_SUPPORTED
@ GROUP_AI_FLAG_EVADE_TOGETHER
@ GROUP_AI_FLAG_ASSIST_MASK
@ GROUP_AI_FLAG_MEMBER_ASSIST_LEADER
@ GROUP_AI_FLAG_DONT_RESPAWN_LEADER_ON_EVADE
@ GROUP_AI_FLAG_FOLLOW_LEADER
@ GROUP_AI_FLAG_RESPAWN_ON_EVADE