Expand description
§Lightyear Deterministic Replication
Utilities for lockstep-style deterministic simulation on top of Lightyear:
ChecksumPluginregisters the checksum protocol and installs the client/server checksum systems for whichever Lightyear side plugins are present.ChecksumSendPlugin/ChecksumReceivePlugincompute and verify XOR checksums of prediction history across client/server or all-to-all P2P topologies.LateJoinCatchUpPluginlets a client that connects mid-game request a one-time snapshot of a remote entity’s state so it can fast-forward to the current tick via a forced rollback.DeterministicReplicationPluginwires up the shared archetype index used by both features.
Modules§
- late_
join - Late-join catch-up: client-driven bundled snapshot replication so that mid-game joiners can catch up to already-simulated entities. Late-join catch-up for deterministic replication.
- mode
- Configuration mode for catch-up (state-based vs input-only). Catch-up mode for deterministic replication.
- prelude
- Commonly used items from the
lightyear_deterministic_replicationcrate.
Structs§
- Deterministic
- Marker component that indicates that this entity is deterministic. It is not updated via state, but only via inputs.