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

Go to the source code of this file.

Classes

class  WorldPackets::Instance::UpdateLastInstance
 
class  WorldPackets::Instance::UpdateInstanceOwnership
 
struct  WorldPackets::Instance::InstanceLockInfos
 
class  WorldPackets::Instance::InstanceInfo
 
class  WorldPackets::Instance::ResetInstances
 
class  WorldPackets::Instance::InstanceReset
 
class  WorldPackets::Instance::InstanceResetFailed
 
class  WorldPackets::Instance::ResetFailedNotify
 
class  WorldPackets::Instance::InstanceSaveCreated
 
class  WorldPackets::Instance::InstanceLockResponse
 
class  WorldPackets::Instance::RaidGroupOnly
 
class  WorldPackets::Instance::PendingRaidLock
 
class  WorldPackets::Instance::RaidInstanceMessage
 

Namespaces

 WorldPackets
 
 WorldPackets::Instance
 

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: