ECSx
ECSx copied to clipboard
Idea: ECSx.ServerEvents
When the client is sensitive to network traffic, or the game state is very large, the cost of synchronizing all states each time is very high.
Is it possible to add an event list, just like client events, you can add events yourself every time you update the component, and only synchronize events to the client.
Only need to refresh all status at optional times.
In this way, the client can distinguish modifications based on events and synchronize the differences with the server.