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.
  • This module defines bevy Events related to networking events
  • Log plugin that also potentially emits metrics to Prometheus. This cannot be used in conjunction with Bevy’s LogPlugin
  • 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
  • Module to handle the Tick, a sequence number incremented at each bevy::prelude::FixedUpdate schedule run
  • Module to handle tracking time