1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-26 14:37:44 +00:00
sapphire/src/common/Network/PacketContainer.h
2018-06-28 00:07:07 +02:00

38 lines
545 B
C++

#ifndef _PacketContainer_H_
#define _PacketContainer_H_
#include <vector>
#include "Common.h"
#include "CommonNetwork.h"
#include "GamePacketNew.h"
namespace Core {
namespace Network {
namespace Packets {
class GamePacket;
class PacketContainer
{
public:
PacketContainer();
~PacketContainer();
void addPacket( FFXIVPacketBase entry );
FFXIVARR_PACKET_HEADER m_ipcHdr;
std::vector< FFXIVPacketBase > m_entryList;
std::string toString();
void fillSendBuffer( std::vector< uint8_t >& sendBuffer );
};
}
}
}
#endif