Module lightyear::shared

source ·
Expand description

Shared code between the server and client.

Modules

  • Configuration that has to be the same between the server and the client.
  • Bevy events that will be emitted upon receiving network messages
  • Module to handle sending ping/pong messages and compute connection statistics (rtt, jitter, etc.)
  • Bevy [bevy::prelude::Plugin] used by both the server and the client
  • Module to handle replicating entities and components from server to client
  • Bevy [SystemSet] that are shared between the server and client
  • Bevy System that are shared between the server and client
  • Module to handle the Tick, a sequence number incremented at each [bevy::prelude::FixedUpdate] schedule run
  • Module to handle tracking time