NetPlay: Add functions to sync folders.
This commit is contained in:
2 files changed
+73
No files matched your search
@@ -15,7 +15,9 @@
|
||||
namespace NetPlay
|
||||
{
|
||||
bool CompressFileIntoPacket(const std::string& file_path, sf::Packet& packet);
|
||||
bool CompressFolderIntoPacket(const std::string& folder_path, sf::Packet& packet);
|
||||
bool CompressBufferIntoPacket(const std::vector<u8>& in_buffer, sf::Packet& packet);
|
||||
bool DecompressPacketIntoFile(sf::Packet& packet, const std::string& file_path);
|
||||
bool DecompressPacketIntoFolder(sf::Packet& packet, const std::string& folder_path);
|
||||
std::optional<std::vector<u8>> DecompressPacketIntoBuffer(sf::Packet& packet);
|
||||
} // namespace NetPlay
|
||||
Reference in new issue
Block a user