bevy_hookup_messenger_self

Crates.iobevy_hookup_messenger_self
lib.rsbevy_hookup_messenger_self
version2.2.1
created_at2025-09-07 14:09:36.332598+00
updated_at2025-10-14 11:25:54.298368+00
descriptionThe self messenger of the bevy_hookup library
homepage
repositoryhttps://github.com/Schoggi0815/bevy_hookup
max_upload_size
id1828159
size138,511
Matteo (Schoggi0815)

documentation

README

Self Messenger

The simpelst implementation of a messenger, this just streams the shared components into the same world. To make sure they end up on different entities, the Entity IDs are changed before being sent to the core library again.

This implementation can be used for singleplayer modes.

Example

All you have to do is spawn a self session into your world.

You need an implementation of TSendables like with any other session implementation.

commands.spawn(SelfSession::<Sendables>::new().to_session());
Commit count: 32

cargo fmt