#pragma once

/**
 * \file PacketFactory.h
 */

#include "blitz/protocol/Protocol.h"

namespace blitz {
namespace protocol {
namespace PacketFactory {

/**
 * \brief Creates a packet from a buffer.
 * \param buffer The buffer containing the packet data.
 * \return The created packet.
 */
const Packet* CreatePacket(PacketType type, DataBuffer& buffer);

}  // namespace PacketFactory
}  // namespace protocol
}  // namespace blitz
