NetPlay: Introduce constant for peer timeout
This commit is contained in:
1 parent
b1122ec94f
commit
302dedbd24
3 files changed
+5
-3
No files matched your search
@@ -14,6 +14,8 @@
|
||||
|
||||
namespace NetPlay
|
||||
{
|
||||
constexpr u32 PEER_TIMEOUT = 30000;
|
||||
|
||||
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);
|
||||
|
||||
Reference in new issue
Block a user