object:set_properties() should only send changed properties #14418
Labels
Concept approved
Approved by a core dev: PRs welcomed!
@ Network
Performance
Request / Suggestion
The issue makes a suggestion for something that should be done but isn't a new feature.
@ Script API
Problem
When
object:set_properties()
is called, all properties are sent in a single packet to clients. This packet can be rather large. It is a waste to send unchanged properties. This issue is functionally identical to #9934 (excess network packets being generated for unchanged properties) with the more generic idea that packets should not be sent for properties that do not change.Solutions
A new packet type or different structure would be needed to let the server send individual properties (or sets of properties).
The text was updated successfully, but these errors were encountered: