Files
Commonwealth-Online-Public/plugin/include
andrew 62635f4226 Add plugin receive loop & remote player state
Add a networking receive loop and in-plugin remote-player storage. Introduces F4TRemotePlayerState (header + implementation) to track assigned playerId and remote player snapshots with thread-safe access. Expands F4TNetworking to start/stop a background receive thread, parse newline-separated JSON packets (welcome, transform, disconnect), validate fields, update remote state, throttle logs, and handle socket/thread synchronization. Add nlohmann_json to xmake and plugin build. Update docs and dev log to reflect the new receive behavior and current prototype scope.
2026-05-31 20:10:41 +12:00
..
2026-05-30 18:13:54 +12:00

Include

This folder is for shared native plugin header files.

Possible future headers:

  • protocol types
  • player state types
  • network client declarations
  • logging declarations
  • configuration types