naia-bevy-server 0.25.0

Library to faciliate naia_server & Bevy interop
1
2
3
4
5
6
7
8
9
use bevy_ecs::component::Component;

use naia_bevy_shared::HostOwned;
use naia_server::UserKey;

pub type ServerOwned = HostOwned;

#[derive(Component)]
pub struct ClientOwned(pub UserKey);