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
HistoryBuffer
for storing and managing historical state. - id
- Provides types for network identifiers, such as
PeerId
andNetId
. 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_core
crate. - test
- tick
- Defines the
Tick
type 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
Timeline
for managing different views of time (local, network).