feat(net): add packet encryption and auth token

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-26 16:28:21 +09:00
parent 6beafc6949
commit 98d40d6520
2 changed files with 142 additions and 0 deletions

View File

@@ -6,6 +6,7 @@ pub mod reliable;
pub mod snapshot;
pub mod interpolation;
pub mod lag_compensation;
pub mod encryption;
pub use packet::Packet;
pub use socket::NetSocket;
@@ -15,3 +16,4 @@ pub use reliable::{ReliableChannel, OrderedChannel};
pub use snapshot::{Snapshot, EntityState, serialize_snapshot, deserialize_snapshot, diff_snapshots, apply_diff};
pub use interpolation::InterpolationBuffer;
pub use lag_compensation::LagCompensation;
pub use encryption::{PacketCipher, AuthToken};