![]() |
TrinityCore
|
#include <PlayerTaxi.h>
Private Attributes | |
| TaxiMask | m_taximask |
| std::deque< uint32 > | m_TaxiDestinations |
| uint32 | m_flightMasterFactionId = 0 |
Friends | |
| std::ostringstream & | operator<< (std::ostringstream &ss, PlayerTaxi const &taxi) |
Definition at line 36 of file PlayerTaxi.h.
|
default |
|
default |
|
defaultnoexcept |
|
default |
| void PlayerTaxi::AddTaxiDestination | ( | uint32 | dest | ) |
Definition at line 206 of file PlayerTaxi.cpp.
References m_TaxiDestinations.
Referenced by Player::ActivateTaxiPathTo(), Player::LoadFromDB(), LoadTaxiDestinationsFromString(), and Player::ProcessDelayedOperations().
| void PlayerTaxi::AppendTaximaskTo | ( | WorldPackets::Taxi::ShowTaxiNodes & | data, |
| bool | all | ||
| ) |
Definition at line 129 of file PlayerTaxi.cpp.
References WorldPackets::Taxi::ShowTaxiNodes::CanLandNodes, WorldPackets::Taxi::ShowTaxiNodes::CanUseNodes, m_taximask, and sTaxiNodesMask.
Referenced by WorldSession::SendTaxiMenu().
|
inline |
Definition at line 75 of file PlayerTaxi.h.
Referenced by Player::ActivateTaxiPathTo(), Player::CleanupAfterTaxiFlight(), FlightPathMovementGenerator::DoFinalize(), Player::FinishTaxiFlight(), Player::LoadFromDB(), and LoadTaxiDestinationsFromString().
|
inline |
Definition at line 87 of file PlayerTaxi.h.
Referenced by Player::SetBattlegroundEntryPoint().
| uint32 PlayerTaxi::GetCurrentTaxiPath | ( | ) | const |
Definition at line 211 of file PlayerTaxi.cpp.
References m_TaxiDestinations, and sObjectMgr.
Referenced by Player::ContinueTaxiFlight().
| FactionTemplateEntry const * PlayerTaxi::GetFlightMasterFactionTemplate | ( | ) | const |
Definition at line 252 of file PlayerTaxi.cpp.
References m_flightMasterFactionId, and sFactionTemplateStore.
Referenced by FlightPathMovementGenerator::LoadPath().
|
inline |
Definition at line 86 of file PlayerTaxi.h.
Referenced by FlightPathMovementGenerator::LoadPath().
|
inline |
Definition at line 78 of file PlayerTaxi.h.
Referenced by WorldSession::HandleMoveSplineDoneOpcode(), and Player::SetBattlegroundEntryPoint().
|
inline |
Definition at line 69 of file PlayerTaxi.h.
|
inline |
Definition at line 77 of file PlayerTaxi.h.
Referenced by Player::ContinueTaxiFlight(), Player::LoadFromDB(), LoadTaxiDestinationsFromString(), and Player::SetBattlegroundEntryPoint().
Definition at line 33 of file PlayerTaxi.cpp.
References CLASS_DEATH_KNIGHT, HORDE, m_taximask, RACE_BLOODELF, RACE_DRAENEI, RACE_DWARF, RACE_GNOME, RACE_GOBLIN, RACE_HUMAN, RACE_NIGHTELF, RACE_ORC, RACE_PANDAREN_ALLIANCE, RACE_PANDAREN_HORDE, RACE_TAUREN, RACE_TROLL, RACE_UNDEAD_PLAYER, RACE_WORGEN, sAllianceTaxiNodesMask, SetTaximaskNode(), sHordeTaxiNodesMask, TaxiMask::size(), sOldContinentsNodesMask, and Player::TeamForRace().
Referenced by Player::InitTaxiNodesForLevel().
|
inline |
Definition at line 50 of file PlayerTaxi.h.
Referenced by RequestEarlyLanding(), and WorldSession::SendTaxiStatus().
| bool PlayerTaxi::LoadTaxiDestinationsFromString | ( | std::string const & | values, |
| uint32 | team | ||
| ) |
Definition at line 143 of file PlayerTaxi.cpp.
References AddTaxiDestination(), ClearTaxiDestinations(), GetTaxiSource(), m_flightMasterFactionId, m_TaxiDestinations, sObjectMgr, and Trinity::Tokenize().
Referenced by Player::LoadFromDB().
| bool PlayerTaxi::LoadTaxiMask | ( | std::string const & | data | ) |
Definition at line 107 of file PlayerTaxi.cpp.
References m_taximask, TaxiMask::size(), sTaxiNodesMask, and Trinity::Tokenize().
Referenced by Player::LoadFromDB().
|
inline |
Definition at line 80 of file PlayerTaxi.h.
Referenced by FlightPathMovementGenerator::DoUpdate().
|
defaultnoexcept |
|
default |
| bool PlayerTaxi::RequestEarlyLanding | ( | ) |
Definition at line 231 of file PlayerTaxi.cpp.
References IsTaximaskNodeKnown(), and m_TaxiDestinations.
| std::string PlayerTaxi::SaveTaxiDestinationsToString | ( | ) |
Definition at line 190 of file PlayerTaxi.cpp.
References ASSERT, m_flightMasterFactionId, and m_TaxiDestinations.
Referenced by Player::SaveToDB().
|
inline |
Definition at line 89 of file PlayerTaxi.h.
Referenced by Player::ActivateTaxiPathTo().
|
inline |
Definition at line 56 of file PlayerTaxi.h.
Referenced by InitTaxiNodesForLevel().
|
friend |
Definition at line 224 of file PlayerTaxi.cpp.
|
private |
Definition at line 95 of file PlayerTaxi.h.
Referenced by GetFlightMasterFactionTemplate(), LoadTaxiDestinationsFromString(), and SaveTaxiDestinationsToString().
|
private |
Definition at line 94 of file PlayerTaxi.h.
Referenced by AddTaxiDestination(), GetCurrentTaxiPath(), LoadTaxiDestinationsFromString(), RequestEarlyLanding(), and SaveTaxiDestinationsToString().
|
private |
Definition at line 93 of file PlayerTaxi.h.
Referenced by AppendTaximaskTo(), InitTaxiNodesForLevel(), and LoadTaxiMask().