Package de.extio.spacecraft.shared.bo
Interface RestrictedEntitySurface
-
public interface RestrictedEntitySurface
Handles restricting composite entities to a representation for other players, e.g. to not see details about the inside if not in scan range You can access the corresponding bean implementation via ServerFacade::getBusinessObject
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
resetRestrictedWalls(AbstractEntity entity, AbstractCompositeEntity parent, UUID recipient)
Handles restricting entities, if you derive from core entities this is already integrated.void
serverCleanupRestrictedEntities(AbstractCompositeEntity parent, AbstractEntity entity, GameSession gameSession)
Handles restricting entities, if you derive from core entities this is already integrated.void
serverCleanupRestrictedHullEntity(AbstractCompositeEntity parent, AbstractEntity entity, GameSession gameSession)
Handles restricting entities, if you derive from core entities this is already integrated.void
serverPrepareRestrictedEntities(AbstractEntity entity, AbstractCompositeEntity parent, UUID recipient, GameSession gameSession)
Handles restricting entities, if you derive from core entities this is already integrated.void
serverPrepareRestrictedHullEntity(AbstractEntity entity, AbstractCompositeEntity parent, UUID recipient, GameSession gameSession, Consumer<AbstractEntity> processEntityConsumer)
Handles restricting entities, if you derive from core entities this is already integrated.boolean
serverRestrictEntity(UUID recipient, AbstractCompositeEntity parent, GameSession gameSession)
Whether to restrict the inside of a composite entity parent to player recipient
-
-
-
Method Detail
-
serverRestrictEntity
boolean serverRestrictEntity(UUID recipient, AbstractCompositeEntity parent, GameSession gameSession)
Whether to restrict the inside of a composite entity parent to player recipient
-
serverPrepareRestrictedEntities
void serverPrepareRestrictedEntities(AbstractEntity entity, AbstractCompositeEntity parent, UUID recipient, GameSession gameSession)
Handles restricting entities, if you derive from core entities this is already integrated. Otherwise check for references
-
serverCleanupRestrictedEntities
void serverCleanupRestrictedEntities(AbstractCompositeEntity parent, AbstractEntity entity, GameSession gameSession)
Handles restricting entities, if you derive from core entities this is already integrated. Otherwise check for references
-
serverPrepareRestrictedHullEntity
void serverPrepareRestrictedHullEntity(AbstractEntity entity, AbstractCompositeEntity parent, UUID recipient, GameSession gameSession, Consumer<AbstractEntity> processEntityConsumer)
Handles restricting entities, if you derive from core entities this is already integrated. Otherwise check for references
-
serverCleanupRestrictedHullEntity
void serverCleanupRestrictedHullEntity(AbstractCompositeEntity parent, AbstractEntity entity, GameSession gameSession)
Handles restricting entities, if you derive from core entities this is already integrated. Otherwise check for references
-
resetRestrictedWalls
void resetRestrictedWalls(AbstractEntity entity, AbstractCompositeEntity parent, UUID recipient)
Handles restricting entities, if you derive from core entities this is already integrated. Otherwise check for references
-
-