TrinityCore
Loading...
Searching...
No Matches
Position.cpp File Reference
#include "Position.h"
#include "ByteBuffer.h"
#include "DB2Stores.h"
#include "GridDefines.h"
#include "StringFormat.h"
#include "World.h"
#include <G3D/g3dmath.h>
+ Include dependency graph for Position.cpp:

Go to the source code of this file.

Functions

ByteBuffer & operator<< (ByteBuffer &buf, Position::ConstStreamer< Position::XY > const &streamer)
 
ByteBuffer & operator>> (ByteBuffer &buf, Position::Streamer< Position::XY > const &streamer)
 
ByteBuffer & operator<< (ByteBuffer &buf, Position::ConstStreamer< Position::XYZ > const &streamer)
 
ByteBuffer & operator>> (ByteBuffer &buf, Position::Streamer< Position::XYZ > const &streamer)
 
ByteBuffer & operator<< (ByteBuffer &buf, Position::ConstStreamer< Position::XYZO > const &streamer)
 
ByteBuffer & operator>> (ByteBuffer &buf, Position::Streamer< Position::XYZO > const &streamer)
 
ByteBuffer & operator<< (ByteBuffer &buf, Position::ConstStreamer< Position::PackedXYZ > const &streamer)
 
ByteBuffer & operator>> (ByteBuffer &buf, Position::Streamer< Position::PackedXYZ > const &streamer)
 

Function Documentation

◆ operator<<() [1/4]

ByteBuffer & operator<< ( ByteBuffer &  buf,
Position::ConstStreamer< Position::PackedXYZ > const &  streamer 
)

◆ operator<<() [2/4]

ByteBuffer & operator<< ( ByteBuffer &  buf,
Position::ConstStreamer< Position::XY > const &  streamer 
)

◆ operator<<() [3/4]

ByteBuffer & operator<< ( ByteBuffer &  buf,
Position::ConstStreamer< Position::XYZ > const &  streamer 
)

◆ operator<<() [4/4]

◆ operator>>() [1/4]

ByteBuffer & operator>> ( ByteBuffer &  buf,
Position::Streamer< Position::PackedXYZ > const &  streamer 
)

Definition at line 275 of file Position.cpp.

References Position::Streamer< Tag >::Pos, and Position::Relocate().

◆ operator>>() [2/4]

ByteBuffer & operator>> ( ByteBuffer &  buf,
Position::Streamer< Position::XY > const &  streamer 
)

◆ operator>>() [3/4]

ByteBuffer & operator>> ( ByteBuffer &  buf,
Position::Streamer< Position::XYZ > const &  streamer 
)

◆ operator>>() [4/4]