Type Alias veloren_common_net::synced_components::inner::IsFollower
source · pub type IsFollower = Is<Follower>;
Aliased Type§
struct IsFollower { /* private fields */ }
Trait Implementations§
source§impl NetSync for IsFollower
impl NetSync for IsFollower
source§const SYNC_FROM: SyncFrom = SyncFrom::AnyEntity
const SYNC_FROM: SyncFrom = SyncFrom::AnyEntity
Determines what for entities this component is synced to the client. Read more
source§fn pre_insert(&mut self, world: &World)
fn pre_insert(&mut self, world: &World)
Allows making modifications before the synced component is inserted on
the client.
source§fn pre_modify(&mut self, world: &World)
fn pre_modify(&mut self, world: &World)
Allows making modifications before the synced component is overwritten
with this version on the client.
source§impl TryFrom<EcsCompPacket> for IsFollower
impl TryFrom<EcsCompPacket> for IsFollower
source§fn try_from(other: EcsCompPacket) -> Result<IsFollower, Self::Error>
fn try_from(other: EcsCompPacket) -> Result<IsFollower, Self::Error>
Performs the conversion.