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

Go to the source code of this file.

Classes

struct  WorldPackets::LFG::RideTicket
 

Namespaces

 WorldPackets
 
 WorldPackets::LFG
 

Functions

ByteBufferoperator>> (ByteBuffer &data, WorldPackets::LFG::RideTicket &ticket)
 
ByteBufferoperator<< (ByteBuffer &data, WorldPackets::LFG::RideTicket const &ticket)
 

Function Documentation

ByteBuffer& operator<< ( ByteBuffer data,
WorldPackets::LFG::RideTicket const ticket 
)
31 {
32  data << ticket.RequesterGuid;
33  data << int32(ticket.Id);
34  data << int32(ticket.Type);
35  data << uint32(ticket.Time);
36 
37  return data;
38 }
int32_t int32
Definition: g3dmath.h:167
uint32_t uint32
Definition: g3dmath.h:168
ByteBuffer& operator>> ( ByteBuffer data,
WorldPackets::LFG::RideTicket ticket 
)
21 {
22  data >> ticket.RequesterGuid;
23  data >> ticket.Id;
24  data >> ticket.Type;
25  data >> ticket.Time;
26 
27  return data;
28 }
int32 Id
Definition: LFGPackets.h:30
int32 Type
Definition: LFGPackets.h:31
ObjectGuid RequesterGuid
Definition: LFGPackets.h:29
uint32 Time
Definition: LFGPackets.h:32