1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-24 13:47:46 +00:00
sapphire/src/common/Network/PacketContainer.h

39 lines
551 B
C
Raw Normal View History

2017-08-08 13:53:47 +02:00
#ifndef _PacketContainer_H_
#define _PacketContainer_H_
#include <vector>
2018-03-06 22:22:19 +01:00
#include "Common.h"
2017-08-08 13:53:47 +02:00
#include "CommonNetwork.h"
2018-06-28 00:07:07 +02:00
#include "GamePacketNew.h"
2017-08-08 13:53:47 +02:00
namespace Core {
namespace Network {
namespace Packets {
class GamePacket;
class PacketContainer
{
public:
2018-06-03 19:31:03 +02:00
PacketContainer();
~PacketContainer();
2017-08-08 13:53:47 +02:00
2018-06-27 23:48:18 -03:00
void addPacket( FFXIVPacketBasePtr entry );
2017-08-08 13:53:47 +02:00
FFXIVARR_PACKET_HEADER m_ipcHdr;
2018-06-27 23:48:18 -03:00
std::vector< FFXIVPacketBasePtr > m_entryList;
2017-08-08 13:53:47 +02:00
std::string toString();
void fillSendBuffer( std::vector< uint8_t >& sendBuffer );
};
}
}
}
#endif