refactor extract chunk picker systems
This commit is contained in:
22
solanaceae/ngc_ft1_sha1/chunk_picker_systems.hpp
Normal file
22
solanaceae/ngc_ft1_sha1/chunk_picker_systems.hpp
Normal file
@@ -0,0 +1,22 @@
|
||||
#pragma once
|
||||
|
||||
#include <solanaceae/contact/contact_model3.hpp>
|
||||
#include <solanaceae/object_store/object_store.hpp>
|
||||
#include <solanaceae/tox_contacts/components.hpp>
|
||||
#include <solanaceae/ngc_ft1/ngcft1.hpp>
|
||||
|
||||
#include "./receiving_transfers.hpp"
|
||||
|
||||
namespace Systems {
|
||||
|
||||
void chunk_picker_updates(
|
||||
Contact3Registry& cr,
|
||||
ObjectRegistry& os_reg,
|
||||
const entt::dense_map<Contact3, size_t>& peer_open_requests,
|
||||
const ReceivingTransfers& receiving_transfers,
|
||||
NGCFT1& nft, // TODO: remove this somehow
|
||||
const float delta
|
||||
);
|
||||
|
||||
} // Systems
|
||||
|
Reference in New Issue
Block a user