Expand description
§Lightyear Core
This crate provides fundamental types and utilities shared across the Lightyear networking library. It includes core concepts such as:
- Ticking and time management (
tick,time,timeline). - Network identifiers and abstractions (
network,id). - History buffers for state management (
history_buffer). - Core plugin structures (
plugin).
Modules§
- history_
buffer - Provides
HistoryBufferfor storing and managing historical state. - id
- Provides types for network identifiers, such as
PeerIdandNetId. Module to handle the various possible ClientIds - interpolation
- network
- Provides core network-related types and traits.
- plugin
- Defines core plugin structures and related utilities.
- prediction
- prelude
- Commonly used items from the
lightyear_corecrate. - test
- tick
- Defines the
Ticktype and related systems for managing discrete time steps. - time
- Utilities for time management, including interpolation and synchronization. This module contains some helper functions to compute the difference between two times.
- timeline
- Defines
Timelinefor managing different views of time (local, network).