Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
PlayerPackets.h
Go to the documentation of this file.
1/*
2* This file is part of Project SkyFire https://www.projectskyfire.org.
3* See LICENSE.md file for Copyright information
4*/
5
6#ifndef SKYFIRE_PLAYER_PACKETS_H
7#define SKYFIRE_PLAYER_PACKETS_H
8
9#include "WorldPacket.h"
10
12{
17
19 {
21 data.WriteGuidMask(playerGuid, 1, 7, 5, 2, 6, 0, 3, 4);
22 data.WriteGuidBytes(playerGuid, 5, 1, 7, 0, 6, 4, 2, 3);
23
24 return data;
25 }
26}
27
28#endif
void WriteGuidBytes(const ObjectGuid &guid, Offsets... offsets)
Definition ByteBuffer.h:264
void WriteGuidMask(const ObjectGuid &guid, Offsets... offsets)
Definition ByteBuffer.h:248
@ SMSG_CANCEL_COMBAT
Definition Opcodes.h:593
@ SMSG_PRE_RESURRECT
Definition Opcodes.h:888
WorldPacket BuildCancelCombatPacket()
WorldPacket BuildPreResurrectPacket(ObjectGuid playerGuid)