[][src]Trait naia_server::EntityType

pub trait EntityType {
    fn read_partial(&mut self, state_mask: &StateMask, bytes: &[u8]);
}

An Enum with a variant for every Entity that can be synced between Client/Host

Required methods

fn read_partial(&mut self, state_mask: &StateMask, bytes: &[u8])

Read bytes from an incoming packet, updating the Properties which have been mutated on the Server

Loading content...

Implementors

Loading content...