|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include <PlayerTaxi.h>
Public Member Functions | |
| void | AddTaxiDestination (uint32 dest) |
| void | AppendTaximaskTo (ByteBuffer &data, bool all) |
| void | ClearTaxiDestinations () |
| bool | empty () const |
| uint32 | GetCurrentTaxiPath () const |
| uint32 | GetTaxiDestination () const |
| uint32 | GetTaxiSource () const |
| void | InitTaxiNodes (uint32 race, uint32 chrClass, uint8 level) |
| void | InitTaxiNodesForClass (uint32 chrClass) |
| void | InitTaxiNodesForFaction (uint32 faction) |
| void | InitTaxiNodesForLvl (uint8 level) |
| void | InitTaxiNodesForRace (uint32 race) |
| bool | IsTaximaskNodeKnown (uint32 nodeidx) const |
| bool | LoadTaxiDestinationsFromString (std::string const &values, uint32 team) |
| void | LoadTaxiMask (std::string const &data) |
| uint32 | NextTaxiDestination () |
| PlayerTaxi () | |
| std::string | SaveTaxiDestinationsToString () |
| bool | SetTaximaskNode (uint32 nodeidx) |
| ~PlayerTaxi () | |
Private Attributes | |
| std::deque< uint32 > | m_TaxiDestinations |
| TaxiMask | m_taximask |
Friends | |
| std::ostringstream & | operator<< (std::ostringstream &ss, PlayerTaxi const &taxi) |
Definition at line 9 of file PlayerTaxi.h.
| PlayerTaxi::PlayerTaxi | ( | ) |
|
inline |
Definition at line 13 of file PlayerTaxi.h.
|
inline |
Definition at line 52 of file PlayerTaxi.h.
References m_TaxiDestinations.
Referenced by LoadTaxiDestinationsFromString().
| void PlayerTaxi::AppendTaximaskTo | ( | ByteBuffer & | data, |
| bool | all ) |
Definition at line 106 of file PlayerTaxi.cpp.
References m_taximask, sTaxiNodesMask, and TaxiMaskSize.
Referenced by WorldSession::SendTaxiMenu().
|
inline |
Definition at line 48 of file PlayerTaxi.h.
References m_TaxiDestinations.
Referenced by WorldSession::HandleMoveSplineDoneOpcode(), LoadTaxiDestinationsFromString(), and LuaPlayer::Teleport().
|
inline |
Definition at line 70 of file PlayerTaxi.h.
References m_TaxiDestinations.
Referenced by FlightPathMovementGenerator::DoFinalize().
| uint32 PlayerTaxi::GetCurrentTaxiPath | ( | ) | const |
Definition at line 168 of file PlayerTaxi.cpp.
References m_TaxiDestinations, and sObjectMgr.
|
inline |
Definition at line 60 of file PlayerTaxi.h.
References m_TaxiDestinations.
Referenced by WorldSession::HandleMoveSplineDoneOpcode(), and NextTaxiDestination().
|
inline |
Definition at line 56 of file PlayerTaxi.h.
References m_TaxiDestinations.
Referenced by WorldSession::HandleMoveSplineDoneOpcode(), and LoadTaxiDestinationsFromString().
Definition at line 16 of file PlayerTaxi.cpp.
References InitTaxiNodesForClass(), InitTaxiNodesForFaction(), InitTaxiNodesForLvl(), InitTaxiNodesForRace(), and Player::TeamForRace().
| void PlayerTaxi::InitTaxiNodesForClass | ( | uint32 | chrClass | ) |
Definition at line 24 of file PlayerTaxi.cpp.
References CLASS_DEATH_KNIGHT, m_taximask, sOldContinentsNodesMask, and TaxiMaskSize.
Referenced by InitTaxiNodes().
| void PlayerTaxi::InitTaxiNodesForFaction | ( | uint32 | faction | ) |
Definition at line 77 of file PlayerTaxi.cpp.
References ALLIANCE, HORDE, and SetTaximaskNode().
Referenced by InitTaxiNodes().
| void PlayerTaxi::InitTaxiNodesForLvl | ( | uint8 | level | ) |
Definition at line 87 of file PlayerTaxi.cpp.
References SetTaximaskNode().
Referenced by InitTaxiNodes().
| void PlayerTaxi::InitTaxiNodesForRace | ( | uint32 | race | ) |
Definition at line 38 of file PlayerTaxi.cpp.
References ALLIANCE, HORDE, SetTaximaskNode(), and Player::TeamForRace().
Referenced by InitTaxiNodes().
|
inline |
Definition at line 24 of file PlayerTaxi.h.
References m_taximask.
| bool PlayerTaxi::LoadTaxiDestinationsFromString | ( | std::string const & | values, |
| uint32 | team ) |
Definition at line 120 of file PlayerTaxi.cpp.
References AddTaxiDestination(), Tokenizer::begin(), ClearTaxiDestinations(), Tokenizer::end(), GetTaxiSource(), m_TaxiDestinations, and sObjectMgr.
| void PlayerTaxi::LoadTaxiMask | ( | std::string const & | data | ) |
Definition at line 94 of file PlayerTaxi.cpp.
References Tokenizer::begin(), Tokenizer::end(), m_taximask, sTaxiNodesMask, and TaxiMaskSize.
|
inline |
Definition at line 65 of file PlayerTaxi.h.
References GetTaxiDestination(), and m_TaxiDestinations.
Referenced by WorldSession::HandleMoveSplineDoneOpcode().
| std::string PlayerTaxi::SaveTaxiDestinationsToString | ( | ) |
Definition at line 155 of file PlayerTaxi.cpp.
References m_TaxiDestinations.
|
inline |
Definition at line 30 of file PlayerTaxi.h.
References m_taximask.
Referenced by InitTaxiNodesForFaction(), InitTaxiNodesForLvl(), and InitTaxiNodesForRace().
|
friend |
Definition at line 181 of file PlayerTaxi.cpp.
References m_taximask, PlayerTaxi(), and TaxiMaskSize.
|
private |
Definition at line 78 of file PlayerTaxi.h.
Referenced by AddTaxiDestination(), ClearTaxiDestinations(), empty(), GetCurrentTaxiPath(), GetTaxiDestination(), GetTaxiSource(), LoadTaxiDestinationsFromString(), NextTaxiDestination(), and SaveTaxiDestinationsToString().
|
private |
Definition at line 77 of file PlayerTaxi.h.
Referenced by AppendTaximaskTo(), InitTaxiNodesForClass(), IsTaximaskNodeKnown(), LoadTaxiMask(), operator<<, PlayerTaxi(), and SetTaximaskNode().