dashwire_replication 0.2.1 copy "dashwire_replication: ^0.2.1" to clipboard
dashwire_replication: ^0.2.1 copied to clipboard

Replicated state for dashwire. Property schema, snapshots, relevancy, spawning, RPCs, and rooms.

dashwire_replication #

Replicated state for dashwire. A push-model, byte-budgeted replication layer for Dart multiplayer games.

This package provides:

  • A replicated-property schema (Replica, rep<T>, rpc) with write and read permission axes and per-field replication modes, no codegen or reflection.
  • Per-connection acked baselines with change-bit delta encoding and quantized codecs (varint, quantized float, vec3, smallest-three quaternion, bool-packing).
  • Importance-versus-starvation priority packing against a per-connection byte budget.
  • Spawn/despawn with a prefab registry, dormancy with auto-wake, and relevancy filters (always-relevant, per-connection, spatial grid, dependent edges).
  • Ownership-checked RPCs with validation tripwires.
  • Rooms with a fixed tick and an isolate-per-room pool (package:dashwire_replication/server.dart), plus RoomStore snapshot/hydrate.

Depends on dashwire for transport, session, and tick.

Compatibility #

Pure Dart, no Flutter dependency. Compiles for native, dart2js, and dart2wasm.

0
likes
160
points
3.24k
downloads

Documentation

API reference

Publisher

verified publisherbdero.dev

Weekly Downloads

Replicated state for dashwire. Property schema, snapshots, relevancy, spawning, RPCs, and rooms.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

dashwire, meta

More

Packages that depend on dashwire_replication