Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
FlameLeviathanPursuedTargetSelector Class Reference
Collaboration diagram for FlameLeviathanPursuedTargetSelector:

Public Member Functions

 FlameLeviathanPursuedTargetSelector (Unit *unit)
bool operator() (WorldObject *target) const

Private Types

enum  Area { AREA_FORMATION_GROUNDS = 4652 }

Private Attributes

Unit const * _me

Detailed Description

Definition at line 1585 of file boss_flame_leviathan.cpp.

Member Enumeration Documentation

◆ Area

Enumerator
AREA_FORMATION_GROUNDS 

Definition at line 1587 of file boss_flame_leviathan.cpp.

Constructor & Destructor Documentation

◆ FlameLeviathanPursuedTargetSelector()

FlameLeviathanPursuedTargetSelector::FlameLeviathanPursuedTargetSelector ( Unit * unit)
inlineexplicit

Definition at line 1593 of file boss_flame_leviathan.cpp.

References _me.

Member Function Documentation

◆ operator()()

bool FlameLeviathanPursuedTargetSelector::operator() ( WorldObject * target) const
inline

No players, only vehicles (

Todo
check if blizzlike)

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

Definition at line 1595 of file boss_flame_leviathan.cpp.

References AREA_FORMATION_GROUNDS, WorldObject::GetAreaId(), Object::GetEntry(), Unit::GetVehicleKit(), IS_PLAYER_GUID(), NPC_SALVAGED_DEMOLISHER, NPC_SALVAGED_SIEGE_ENGINE, Vehicle::Seats, and Object::ToCreature().

Member Data Documentation

◆ _me

Unit const* FlameLeviathanPursuedTargetSelector::_me
private

Definition at line 1625 of file boss_flame_leviathan.cpp.

Referenced by FlameLeviathanPursuedTargetSelector().


The documentation for this class was generated from the following file: