diff options
author | megamage <none@none> | 2009-01-06 13:49:01 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-01-06 13:49:01 -0600 |
commit | 8b876b08173f92062af449bccfb430b2b2f28bac (patch) | |
tree | 0759f2f4f1759afa65cf72e333218c70753c55f8 /src/game/Player.h | |
parent | 3311f1ea0ecb6f578167b5791b106febbafd2efa (diff) |
*Mangos [7037] Avoid unneeded #ifdef. By VladimirMangos.
*Mangos [7038] Fixing known taxi node save in 3.0.3. Cleanup code. By VladimirMangos.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Player.h')
-rw-r--r-- | src/game/Player.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/game/Player.h b/src/game/Player.h index 5aac92d0607..f4a089ec1c1 100644 --- a/src/game/Player.h +++ b/src/game/Player.h @@ -902,9 +902,7 @@ class TRINITY_DLL_SPEC PlayerTaxi // Nodes void InitTaxiNodesForLevel(uint32 race, uint32 chrClass, uint32 level); void LoadTaxiMask(const char* data); - void SaveTaxiMask(const char* data); - uint32 GetTaximask( uint8 index ) const { return m_taximask[index]; } bool IsTaximaskNodeKnown(uint32 nodeidx) const { uint8 field = uint8((nodeidx - 1) / 32); @@ -940,11 +938,15 @@ class TRINITY_DLL_SPEC PlayerTaxi return GetTaxiDestination(); } bool empty() const { return m_TaxiDestinations.empty(); } + + friend std::ostringstream& operator<< (std::ostringstream& ss, PlayerTaxi const& taxi); private: TaxiMask m_taximask; std::deque<uint32> m_TaxiDestinations; }; +std::ostringstream& operator<< (std::ostringstream& ss, PlayerTaxi const& taxi); + class TRINITY_DLL_SPEC Player : public Unit { friend class WorldSession; |