iw7-mod/src/client/game/utils/fragment_handler.hpp
quaK 08b4eec837
Profileinfo v2 (#114)
* profile info (todo)

* fix path & server running check

* temp progress

* more progress idek i need xuids

* profile info v2

* fix bdProfiles reading bad data

* custom emblem storage + cleanup

* tiny bit of progress but stalling in buffer read

* stuff

* small stuff

* Update profile_infos.cpp

* update

* player xuid packet, stuff... kinda works?

* works

* cleanup

* fix

* cleanup

* cleanup on aisle 2

---------

Co-authored-by: m <mjkzyalt@gmail.com>
2024-01-31 23:48:03 +02:00

18 lines
430 B
C++

#pragma once
#include <utils/byte_buffer.hpp>
#include <utils/concurrency.hpp>
#include "../../component/network.hpp"
namespace game::fragment_handler
{
bool handle(const netadr_s& target, utils::byte_buffer& buffer,
std::string& final_packet);
void clean();
void fragment_data(const void* data, const size_t size,
const std::function<void(const utils::byte_buffer& buffer)>& callback);
}