mwhicks-dev / splat-alpha

2D platforming game engine based in C++ and built on top of the SFML multimedia suite.
0 stars 0 forks source link

Extend Event with client_side and sender headers #37

Closed mwhicks-dev closed 5 months ago

mwhicks-dev commented 5 months ago

client_side events will be pushed to the back-end Listener directly, and sender will be used for server-side validation later. (Cannot move assets that are far away, or that have higher priority.) When events are read into a Controller, they will be set to client-side automatically.

mwhicks-dev commented 5 months ago

client_side not included in serialization as, when deserialized, Events will always be treated as client-side