AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "CinematicMgr.h"
Public Member Functions | |
CinematicMgr (Player *playerref) | |
~CinematicMgr () | |
uint32 | GetActiveCinematicCamera () const |
void | SetActiveCinematicCamera (uint32 cinematicCameraId=0) |
bool | IsOnCinematic () const |
void | BeginCinematic () |
void | EndCinematic () |
void | UpdateCinematicLocation (uint32 diff) |
Protected Attributes | |
uint32 | m_cinematicDiff |
uint32 | m_lastCinematicCheck |
uint32 | m_activeCinematicCameraId |
uint32 | m_cinematicLength |
std::vector< FlyByCamera > const * | m_cinematicCamera |
Position | m_remoteSightPosition |
TempSummon * | m_CinematicObject |
Private Attributes | |
Player * | player |
Friends | |
class | Player |
|
explicit |
References m_activeCinematicCameraId, m_cinematicCamera, m_cinematicDiff, m_cinematicLength, m_CinematicObject, m_lastCinematicCheck, m_remoteSightPosition, and player.
CinematicMgr::~CinematicMgr | ( | ) |
References EndCinematic(), m_activeCinematicCameraId, and m_cinematicCamera.
void CinematicMgr::BeginCinematic | ( | ) |
References GetFlyByCameras(), WorldObject::GetMap(), Position::GetPositionX(), Position::GetPositionY(), Position::IsPositionValid(), Map::LoadGrid(), m_activeCinematicCameraId, m_cinematicCamera, m_cinematicDiff, m_cinematicLength, m_CinematicObject, Position::m_positionX, Position::m_positionY, Position::m_positionZ, player, WorldObject::setActive(), Player::SetViewpoint(), WorldObject::SummonCreature(), TEMPSUMMON_TIMED_DESPAWN, and VISUAL_WAYPOINT.
Referenced by WorldSession::HandleNextCinematicCamera().
void CinematicMgr::EndCinematic | ( | ) |
References WorldObject::AddObjectToRemoveList(), Player::GetViewpoint(), m_activeCinematicCameraId, m_cinematicCamera, m_cinematicDiff, m_CinematicObject, player, and Player::SetViewpoint().
Referenced by WorldSession::HandleCompleteCinematic(), UpdateCinematicLocation(), and ~CinematicMgr().
|
inline |
|
inline |
|
inline |
Referenced by Player::SendCinematicStart().
void CinematicMgr::UpdateCinematicLocation | ( | uint32 | diff | ) |
References CINEMATIC_LOOKAHEAD, EndCinematic(), Position::GetAbsoluteAngle(), Position::GetOrientation(), IN_MILLISECONDS, Position::IsPositionValid(), m_activeCinematicCameraId, m_cinematicCamera, m_cinematicDiff, m_cinematicLength, m_CinematicObject, Position::m_positionX, Position::m_positionY, Position::m_positionZ, Unit::MonsterMoveWithSpeed(), and Position::Relocate().
Referenced by Player::Update().
|
friend |
|
protected |
Referenced by BeginCinematic(), CinematicMgr(), EndCinematic(), Player::Update(), UpdateCinematicLocation(), and ~CinematicMgr().
|
protected |
Referenced by BeginCinematic(), CinematicMgr(), EndCinematic(), Player::Update(), UpdateCinematicLocation(), and ~CinematicMgr().
|
protected |
Referenced by BeginCinematic(), CinematicMgr(), EndCinematic(), Player::Update(), and UpdateCinematicLocation().
|
protected |
Referenced by BeginCinematic(), CinematicMgr(), and UpdateCinematicLocation().
|
protected |
Referenced by BeginCinematic(), CinematicMgr(), EndCinematic(), and UpdateCinematicLocation().
|
protected |
Referenced by CinematicMgr(), and Player::Update().
|
protected |
Referenced by CinematicMgr().
|
private |
Referenced by BeginCinematic(), CinematicMgr(), and EndCinematic().