Package de.extio.spacecraft.shared.bo
Interface EntityNetwork
-
public interface EntityNetworkHelper for the mesh system of composite entities You can access the corresponding bean implementation via EngineFacade::getBusinessObject / ServerFacade::getBusinessObject
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancanOperate(AbstractCompositeEntity compositeEntity, Collection<UUID> operatorEntityIds, UUID clientEntityId)Check whether any of the operators (e.g.EntityNetworkDiscoverydiscover(AbstractCompositeEntity compositeEntity)Discover information about all meshes of compositeEntityList<PhysicalEntity>findClients(AbstractCompositeEntity compositeEntity, Collection<UUID> operatorEntityIds)Find all mesh entities that can be controlled by operatorEntityIds
-
-
-
Method Detail
-
canOperate
boolean canOperate(AbstractCompositeEntity compositeEntity, Collection<UUID> operatorEntityIds, UUID clientEntityId)
Check whether any of the operators (e.g. crew members) can control clientEntityId via console through network mesh or direct operation
-
findClients
List<PhysicalEntity> findClients(AbstractCompositeEntity compositeEntity, Collection<UUID> operatorEntityIds)
Find all mesh entities that can be controlled by operatorEntityIds
-
discover
EntityNetworkDiscovery discover(AbstractCompositeEntity compositeEntity)
Discover information about all meshes of compositeEntity
-
-