|
group2 0.1.0
CSE 125 Group 2
|
Serialises and sends the local player's InputSnapshot to the server. More...
#include "ecs/components/InputSnapshot.hpp"#include "ecs/components/LocalPlayer.hpp"#include "ecs/registry/Registry.hpp"#include "network/Client.hpp"Go to the source code of this file.
Namespaces | |
| namespace | systems |
| Client-only input sampling system — split into two halves so mouse look can run every iterate() (smooth camera at any FPS) while movement keys run once per physics tick group (server-consistent). | |
Functions | |
| void | systems::runInputSend (Registry ®istry, Client &conn) |
| Send the local player's current InputSnapshot over the network. | |
Serialises and sends the local player's InputSnapshot to the server.