TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
JumpCheck Class Reference

Public Member Functions

bool operator() (WorldObject *object) const
 

Member Function Documentation

bool JumpCheck::operator() ( WorldObject object) const
inline
366  {
367  Player* player = object->ToPlayer();
368  return (player && (player->IsFalling() || player->HasUnitState(UNIT_STATE_JUMPING)));
369  }
Definition: Unit.h:568

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