pub trait GlobalWorldManagerType<E: Copy + Eq + Hash>: EntityAndGlobalEntityConverter<E> {
    // Required methods
    fn component_kinds(&self, entity: &E) -> Option<Vec<ComponentKind>>;
    fn to_global_entity_converter(
        &self
    ) -> &dyn EntityAndGlobalEntityConverter<E>;
    fn entity_can_relate_to_user(&self, entity: &E, user_key: &u64) -> bool;
    fn new_mut_channel(
        &self,
        diff_mask_length: u8
    ) -> Arc<RwLock<dyn MutChannelType>>;
    fn diff_handler(&self) -> Arc<RwLock<GlobalDiffHandler<E>>>;
    fn register_component(
        &self,
        entity: &E,
        component_kind: &ComponentKind,
        diff_mask_length: u8
    ) -> PropertyMutator;
    fn get_entity_auth_accessor(&self, entity: &E) -> EntityAuthAccessor;
    fn entity_needs_mutator_for_delegation(&self, entity: &E) -> bool;
    fn entity_is_replicating(&self, entity: &E) -> bool;
}

Required Methods§

source

fn component_kinds(&self, entity: &E) -> Option<Vec<ComponentKind>>

source

fn to_global_entity_converter(&self) -> &dyn EntityAndGlobalEntityConverter<E>

source

fn entity_can_relate_to_user(&self, entity: &E, user_key: &u64) -> bool

Whether or not a given user can receive a Message/Componet with an EntityProperty relating to the given Entity

source

fn new_mut_channel( &self, diff_mask_length: u8 ) -> Arc<RwLock<dyn MutChannelType>>

source

fn diff_handler(&self) -> Arc<RwLock<GlobalDiffHandler<E>>>

source

fn register_component( &self, entity: &E, component_kind: &ComponentKind, diff_mask_length: u8 ) -> PropertyMutator

source

fn get_entity_auth_accessor(&self, entity: &E) -> EntityAuthAccessor

source

fn entity_needs_mutator_for_delegation(&self, entity: &E) -> bool

source

fn entity_is_replicating(&self, entity: &E) -> bool

Implementors§