mirror of
https://github.com/SantaSpeen/BeamMP-Server.git
synced 2026-06-18 18:30:53 +00:00
Added N packet flag
This commit is contained in:
@@ -136,6 +136,9 @@ void TServer::GlobalParser(const std::weak_ptr<TClient>& Client, std::string Pac
|
|||||||
#endif
|
#endif
|
||||||
HandleEvent(*LockedClient, Packet);
|
HandleEvent(*LockedClient, Packet);
|
||||||
return;
|
return;
|
||||||
|
case 'N':
|
||||||
|
debug("got 'N' packet (" + std::to_string(Packet.size()) + ")");
|
||||||
|
Network.SendToAll(LockedClient.get(), Packet, false, true);
|
||||||
default:
|
default:
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user