Skip to content

Being able to pass arbitrary data in Replication messages #707

Description

@cBournhonesque

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions