mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-15 14:52:35 +02:00
Net message functions are now cached when the message is registered or the string table updates (client side). This removes the cache call from DispatchNetMessage. Receiving net messages that we don't have reception callbacks for, or that are blocked with the new NetMessageAccept enum, will instantly cause the net manager to drop the offending connection to avoid malicious use. This means trying to send string tables to the server will just result in an instant kick without even hitting ReadFromBuffer(). This allows us to move some if() checks to asserts.