group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
InputSendSystem.hpp File Reference

Serialises and sends the local player's InputSnapshot to the server. More...

Include dependency graph for InputSendSystem.hpp:
This graph shows which files directly or indirectly include this file:

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 &registry, Client &conn)
 Send the local player's current InputSnapshot over the network.
 

Detailed Description

Serialises and sends the local player's InputSnapshot to the server.