I don't know how hard it would be, but I need to maintain a mapping between the RepliconTick and the lightyear Tick.
The only way i've found is to intercept the replicon bytes and add the tick at the start of the bytes, like so: https://github.com/cBournhonesque/lightyear/blob/main/crates/replication/replication/src/checkpoint.rs#L190
That seems pretty hacky; I wonder if there would be a way to provide a hook where users could specify arbitrary data that should be included in the replicon messages.
I don't know how hard it would be, but I need to maintain a mapping between the RepliconTick and the lightyear Tick.
The only way i've found is to intercept the replicon bytes and add the tick at the start of the bytes, like so: https://github.com/cBournhonesque/lightyear/blob/main/crates/replication/replication/src/checkpoint.rs#L190
That seems pretty hacky; I wonder if there would be a way to provide a hook where users could specify arbitrary data that should be included in the replicon messages.