Enumerator |
---|
AREA_FORMATION_GROUNDS |
|
Definition: boss_flame_leviathan.cpp:1618
FlameLeviathanPursuedTargetSelector::FlameLeviathanPursuedTargetSelector |
( |
Unit * |
unit | ) |
|
|
inlineexplicit |
Unit const * _me
Definition: boss_flame_leviathan.cpp:1654
bool FlameLeviathanPursuedTargetSelector::operator() |
( |
WorldObject * |
target | ) |
const |
|
inline |
No players, only vehicles. Pursue is never cast on players.
NPC entries must match
NPC must be a valid vehicle installation
Entity needs to be in appropriate area
Vehicle must be in use by player
1628 if (!creatureTarget)
1645 bool playerFound =
false;
1646 for (SeatMap::const_iterator itr = vehicle->
Seats.begin(); itr != vehicle->
Seats.end() && !playerFound; ++itr)
1647 if (itr->second.Passenger.Guid.IsPlayer())
1650 return !playerFound;
Definition: Creature.h:467
uint32 GetAreaId() const
Definition: Object.cpp:1530
Definition: boss_flame_leviathan.cpp:1618
Creature * ToCreature()
Definition: Object.h:194
uint32 GetEntry() const
Definition: Object.h:107
SeatMap Seats
The collection of all seats on the vehicle. Including vacant ones.
Definition: Vehicle.h:68
Vehicle * GetVehicleKit() const
Definition: Unit.h:2165
Unit const* FlameLeviathanPursuedTargetSelector::_me |
|
private |
The documentation for this class was generated from the following file: