AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "Object.h"
Classes | |
struct | JumpInfo |
struct | TransportInfo |
Public Member Functions | |
MovementInfo () | |
uint32 | GetMovementFlags () const |
void | SetMovementFlags (uint32 flag) |
void | AddMovementFlag (uint32 flag) |
void | RemoveMovementFlag (uint32 flag) |
bool | HasMovementFlag (uint32 flag) const |
uint16 | GetExtraMovementFlags () const |
void | AddExtraMovementFlag (uint16 flag) |
bool | HasExtraMovementFlag (uint16 flag) const |
void | SetFallTime (uint32 newFallTime) |
void | OutDebug () |
Public Attributes | |
ObjectGuid | guid |
uint32 | flags {0} |
uint16 | flags2 {0} |
Position | pos |
uint32 | time {0} |
struct MovementInfo::TransportInfo | transport |
float | pitch {0.0f} |
uint32 | fallTime {0} |
struct MovementInfo::JumpInfo | jump |
float | splineElevation {0.0f} |
|
inline |
References jump, pos, Position::Relocate(), MovementInfo::TransportInfo::Reset(), MovementInfo::JumpInfo::Reset(), and transport.
|
inline |
|
inline |
|
inline |
References flags.
Referenced by Object::BuildMovementUpdate(), Creature::IsFreeToMove(), and Movement::MoveSplineInit::Launch().
|
inline |
References flags2.
Referenced by WorldSession::ReadMovementInfo(), and WorldSession::WriteMovementInfo().
|
inline |
References flags.
Referenced by Player::CanFly(), npc_escortAI::GenerateWaypointArray(), SmartAI::GenerateWayPointArray(), WorldSession::HandleMovementOpcodes(), Unit::IsFalling(), Unit::IsFlying(), Unit::IsHovering(), Unit::IsLevitating(), Unit::isMoving(), Unit::isSwimming(), Unit::isTurning(), Unit::IsWalking(), Movement::MoveSplineInit::MoveSplineInit(), FollowMovementGenerator< T >::PositionOkay(), PredictPosition(), WorldSession::ReadMovementInfo(), and WorldSession::WriteMovementInfo().
void MovementInfo::OutDebug | ( | ) |
References MovementInfo::JumpInfo::cosAngle, fallTime, flags, flags2, GameTime::GetGameTime(), guid, MovementInfo::TransportInfo::guid, jump, LOG_INFO, MOVEMENTFLAG2_ALWAYS_ALLOW_PITCHING, MOVEMENTFLAG2_INTERPOLATED_MOVEMENT, MOVEMENTFLAG_FALLING, MOVEMENTFLAG_FLYING, MOVEMENTFLAG_ONTRANSPORT, MOVEMENTFLAG_SPLINE_ELEVATION, MOVEMENTFLAG_SWIMMING, pitch, pos, MovementInfo::TransportInfo::pos, MovementInfo::TransportInfo::seat, MovementInfo::JumpInfo::sinAngle, splineElevation, MovementInfo::TransportInfo::time, MovementInfo::TransportInfo::time2, ObjectGuid::ToString(), Position::ToString(), transport, MovementInfo::JumpInfo::xyspeed, and MovementInfo::JumpInfo::zspeed.
|
inline |
References flags.
Referenced by DynamicObject::CleanupsBeforeDelete(), GameObject::CleanupsBeforeDelete(), MotionTransport::CleanupsBeforeDelete(), StaticTransport::CleanupsBeforeDelete(), Unit::CleanupsBeforeDelete(), Unit::DisableSpline(), WorldSession::HandleMovementOpcodes(), WorldSession::HandleMoveUnRootAck(), WorldSession::HandleMoveWorldportAck(), WorldSession::HandlePlayerLoginFromDB(), Player::LoadFromDB(), Movement::MoveSplineInit::Stop(), and Player::TeleportTo().
|
inline |
|
inline |
uint32 MovementInfo::fallTime {0} |
uint32 MovementInfo::flags {0} |
Referenced by AddMovementFlag(), MotionTransport::AddPassenger(), StaticTransport::AddPassenger(), Unit::AddUnitMovementFlag(), GetMovementFlags(), Unit::GetUnitMovementFlags(), WorldSession::HandleMovementOpcodes(), WorldSession::HandleMoveSetCanFlyAckOpcode(), HasMovementFlag(), Unit::HasUnitMovementFlag(), OutDebug(), WorldSession::ReadMovementInfo(), RemoveMovementFlag(), MotionTransport::RemovePassenger(), StaticTransport::RemovePassenger(), Unit::RemoveUnitMovementFlag(), SetMovementFlags(), Unit::SetUnitMovementFlags(), and WorldSession::WriteMovementInfo().
uint16 MovementInfo::flags2 {0} |
Referenced by AddExtraMovementFlag(), Unit::AddExtraUnitMovementFlag(), Unit::BuildMovementPacket(), GetExtraMovementFlags(), Unit::GetExtraUnitMovementFlags(), HasExtraMovementFlag(), Unit::HasExtraUnitMovementFlag(), OutDebug(), WorldSession::ReadMovementInfo(), Unit::RemoveExtraUnitMovementFlag(), Unit::SetExtraUnitMovementFlags(), and WorldSession::WriteMovementInfo().
ObjectGuid MovementInfo::guid |
Referenced by WorldSession::HandleChangeSeatsOnControlledVehicle(), WorldSession::HandleDismissControlledVehicle(), WorldSession::HandleForceSpeedChangeAck(), WorldSession::HandleMoveHoverAck(), WorldSession::HandleMoveKnockBackAck(), WorldSession::HandleMovementOpcodes(), WorldSession::HandleMoveNotActiveMover(), WorldSession::HandleMoveRootAck(), WorldSession::HandleMoveSetCanFlyAckOpcode(), WorldSession::HandleMoveSplineDoneOpcode(), WorldSession::HandleMoveUnRootAck(), WorldSession::HandleMoveWaterWalkAck(), OutDebug(), and WorldSession::WriteMovementInfo().
struct MovementInfo::JumpInfo MovementInfo::jump |
float MovementInfo::pitch {0.0f} |
Position MovementInfo::pos |
float MovementInfo::splineElevation {0.0f} |
uint32 MovementInfo::time {0} |
struct MovementInfo::TransportInfo MovementInfo::transport |
Referenced by WorldObject::_IsWithinDist(), Vehicle::AddPassenger(), MotionTransport::AddPassenger(), StaticTransport::AddPassenger(), Unit::BuildMovementPacket(), WorldSession::BuildPartyMemberStatsChangedPacket(), DynamicObject::CleanupsBeforeDelete(), GameObject::CleanupsBeforeDelete(), MotionTransport::CleanupsBeforeDelete(), StaticTransport::CleanupsBeforeDelete(), Unit::CleanupsBeforeDelete(), MotionTransport::CreateGOPassenger(), MotionTransport::CreateNPCPassenger(), MotionTransport::DelayedTeleportTransport(), WorldObject::GetTransOffsetO(), WorldObject::GetTransOffsetX(), WorldObject::GetTransOffsetY(), WorldObject::GetTransOffsetZ(), WorldObject::GetTransSeat(), WorldObject::GetTransTime(), misc_commandscript::HandleGPSCommand(), WorldSession::HandleMovementOpcodes(), WorldSession::HandleMoveWorldportAck(), WorldSession::HandlePlayerLoginFromDB(), WorldSession::HandleRequestPartyMemberStatsOpcode(), Movement::MoveSplineInit::Launch(), Player::LoadFromDB(), MovementInfo(), OutDebug(), WorldSession::ReadMovementInfo(), spell_igb_teleport_to_enemy_ship::RelocateTransportOffset(), Vehicle::RemovePassenger(), MotionTransport::RemovePassenger(), StaticTransport::RemovePassenger(), Movement::MoveSplineInit::Stop(), Player::TeleportTo(), StaticTransport::UpdatePassengerPositions(), MotionTransport::UpdatePassengerPositions(), Unit::UpdateSplinePosition(), and WorldSession::WriteMovementInfo().