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);