TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
InstancePackets.cpp File Reference
#include "InstancePackets.h"
+ Include dependency graph for InstancePackets.cpp:

Functions

ByteBufferoperator<< (ByteBuffer &data, WorldPackets::Instance::InstanceLockInfos const &lockInfos)
 

Function Documentation

ByteBuffer& operator<< ( ByteBuffer data,
WorldPackets::Instance::InstanceLockInfos const lockInfos 
)
45 {
46  data << lockInfos.MapID;
47  data << lockInfos.DifficultyID;
48  data << lockInfos.InstanceID;
49  data << lockInfos.TimeRemaining;
50  data << lockInfos.CompletedMask;
51 
52  data.WriteBit(lockInfos.Locked);
53  data.WriteBit(lockInfos.Extended);
54 
55  data.FlushBits();
56 
57  return data;
58 }
void FlushBits()
Definition: ByteBuffer.h:150
bool WriteBit(uint32 bit)
Definition: ByteBuffer.h:170

+ Here is the call graph for this function: