mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-10-20 23:37:06 +00:00
assign IDs to new players earlier in the connection process
This commit is contained in:
1 parent
6a47521c7c
commit
056827546e
3 files changed
+23
-18
No files matched your search
+1
-1
@@ -46,7 +46,7 @@ private:
|
||||
void Looper(const std::weak_ptr<TClient>& c);
|
||||
int OpenID();
|
||||
void OnDisconnect(const std::weak_ptr<TClient>& ClientPtr);
|
||||
void Parse(TClient& c, const std::vector<uint8_t>& Packet);
|
||||
void HandleResourcePackets(TClient& c, const std::vector<uint8_t>& Packet);
|
||||
void SendFile(TClient& c, const std::string& Name);
|
||||
static bool TCPSendRaw(TClient& C, ip::tcp::socket& socket, const uint8_t* Data, size_t Size);
|
||||
static void SplitLoad(TClient& c, size_t Sent, size_t Size, bool D, const std::string& Name);
|
||||
|
||||
Reference in new issue
Block a user