TrinityCore
Position.h File Reference
#include "Define.h"
#include <string>
#include <cmath>
+ Include dependency graph for Position.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Position
 
struct  Position::ConstStreamer< Tag >
 
struct  Position::Streamer< Tag >
 
class  WorldLocation
 
struct  TaggedPosition< Tag >
 

Macros

#define MAPID_INVALID   0xFFFFFFFF
 

Functions

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

Macro Definition Documentation

◆ MAPID_INVALID

#define MAPID_INVALID   0xFFFFFFFF

Definition at line 176 of file Position.h.

Function Documentation

◆ operator<<() [1/4]

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

Definition at line 197 of file Position.cpp.

+ Here is the call graph for this function:

◆ operator<<() [2/4]

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

Definition at line 149 of file Position.cpp.

+ Here is the call graph for this function:

◆ operator<<() [3/4]

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

Definition at line 164 of file Position.cpp.

+ Here is the call graph for this function:

◆ operator<<() [4/4]

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

Definition at line 180 of file Position.cpp.

+ Here is the call graph for this function:

◆ operator>>() [1/3]

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

Definition at line 156 of file Position.cpp.

+ Here is the call graph for this function:

◆ operator>>() [2/3]

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

Definition at line 172 of file Position.cpp.

+ Here is the call graph for this function:

◆ operator>>() [3/3]

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

Definition at line 189 of file Position.cpp.

+ Here is the call graph for this function: