TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
ObjectDefines.h File Reference
#include "Define.h"
#include "ObjectGuid.h"
+ Include dependency graph for ObjectDefines.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

uint64 MAKE_PAIR64 (uint32 l, uint32 h)
 
uint32 PAIR64_HIPART (uint64 x)
 
uint32 PAIR64_LOPART (uint64 x)
 
uint16 MAKE_PAIR16 (uint8 l, uint8 h)
 
uint32 MAKE_PAIR32 (uint16 l, uint16 h)
 
uint16 PAIR32_HIPART (uint32 x)
 
uint16 PAIR32_LOPART (uint32 x)
 

Function Documentation

uint16 MAKE_PAIR16 ( uint8  l,
uint8  h 
)
inline
50 {
51  return uint16(l | (uint16(h) << 8));
52 }
uint16_t uint16
Definition: g3dmath.h:166

+ Here is the caller graph for this function:

uint32 MAKE_PAIR32 ( uint16  l,
uint16  h 
)
inline
55 {
56  return uint32(l | (uint32(h) << 16));
57 }
uint32_t uint32
Definition: g3dmath.h:168

+ Here is the caller graph for this function:

uint64 MAKE_PAIR64 ( uint32  l,
uint32  h 
)
inline
35 {
36  return uint64(l | (uint64(h) << 32));
37 }
uint64_t uint64
Definition: g3dmath.h:170

+ Here is the caller graph for this function:

uint16 PAIR32_HIPART ( uint32  x)
inline
60 {
61  return (uint16)((x >> 16) & 0x0000FFFF);
62 }
uint16_t uint16
Definition: Define.h:151
G3D::int16 x
Definition: Vector2int16.h:37

+ Here is the caller graph for this function:

uint16 PAIR32_LOPART ( uint32  x)
inline
65 {
66  return (uint16)(x & 0x0000FFFF);
67 }
uint16_t uint16
Definition: Define.h:151
G3D::int16 x
Definition: Vector2int16.h:37

+ Here is the caller graph for this function:

uint32 PAIR64_HIPART ( uint64  x)
inline
40 {
41  return (uint32)((x >> 32) & UI64LIT(0x00000000FFFFFFFF));
42 }
#define UI64LIT(N)
Definition: Define.h:138
uint32_t uint32
Definition: Define.h:150
G3D::int16 x
Definition: Vector2int16.h:37

+ Here is the caller graph for this function:

uint32 PAIR64_LOPART ( uint64  x)
inline
45 {
46  return (uint32)(x & UI64LIT(0x00000000FFFFFFFF));
47 }
#define UI64LIT(N)
Definition: Define.h:138
uint32_t uint32
Definition: Define.h:150
G3D::int16 x
Definition: Vector2int16.h:37

+ Here is the caller graph for this function: