#ifndef LOBBY_PACKET_CONTAINER_H_ #define LOBBY_PACKET_CONTAINER_H_ #include #include #include #include #include "Forwards.h" namespace Core { namespace Network { namespace Packets { typedef boost::shared_ptr< FFXIVPacketBase > FFXIVPacketBasePtr; class LobbyPacketContainer { public: LobbyPacketContainer( uint8_t* encKey = nullptr ); ~LobbyPacketContainer(); void addPacket( FFXIVPacketBasePtr pEntry ); uint16_t getSize() const; uint8_t* getRawData( bool addstuff = true ); private: Core::Network::Packets::FFXIVARR_PACKET_HEADER m_header; uint8_t* m_encKey; std::vector< FFXIVPacketBasePtr > m_entryList; uint8_t m_dataBuf[0x2000]; }; } } } #endif