48 bool LoadTaxiMask(std::string
const& data);
54 return (m_taximask[field] & submask) != 0;
60 if ((m_taximask[field] & submask) == 0)
62 m_taximask[field] |= submask;
72 [[nodiscard]]
bool LoadTaxiDestinationsFromString(std::string
const& values,
uint32 team);
73 std::string SaveTaxiDestinationsToString();
76 void AddTaxiDestination(
uint32 dest);
79 uint32 GetCurrentTaxiPath()
const;
82 m_TaxiDestinations.pop_front();
83 return GetTaxiDestination();
85 bool RequestEarlyLanding();
86 std::deque<uint32>
const&
GetPath()
const {
return m_TaxiDestinations; }
87 bool empty()
const {
return m_TaxiDestinations.empty(); }
ByteBuffer & operator<<(ByteBuffer &buf, ObjectGuid const &guid)
std::ostringstream & operator<<(std::ostringstream &ss, PlayerTaxi const &taxi)
std::deque< uint32 > const & GetPath() const
PlayerTaxi(PlayerTaxi const &other)
void SetFlightMasterFactionTemplateId(uint32 factionTemplateId)
bool SetTaximaskNode(uint32 nodeidx)
std::deque< uint32 > m_TaxiDestinations
PlayerTaxi & operator=(PlayerTaxi &&other) noexcept
uint32 GetTaxiSource() const
PlayerTaxi(PlayerTaxi &&other) noexcept
bool IsTaximaskNodeKnown(uint32 nodeidx) const
uint32 NextTaxiDestination()
TaxiMask const & GetTaxiMask() const
uint32 GetTaxiDestination() const
void ClearTaxiDestinations()
PlayerTaxi & operator=(PlayerTaxi const &other)