Uses of Class
de.extio.spacecraft.shared.model.game_server.instance.GameSession
-
Packages that use GameSession Package Description de.extio.spacecraft.shared.bo Business objects implement various game mechanicsde.extio.spacecraft.shared.managers Managers implementing various game subsystemsde.extio.spacecraft.shared.model.bo Interfaces and data objects for various business objects implementing game mechanicsde.extio.spacecraft.shared.model.entity Business and data objects for the entity subsystem.de.extio.spacecraft.shared.model.entity.builtin.composite Builtin composite entity implementations and interfaces for custom implementationsde.extio.spacecraft.shared.model.entity.builtin.live Builtin live entity implementations and interfaces for custom implementations of specific entity typesde.extio.spacecraft.shared.model.entity.builtin.live.mod Base and builtin implementations of entity modsde.extio.spacecraft.shared.model.entity.builtin.live.scripting Implementations of scripting entities.de.extio.spacecraft.shared.module Interfaces and business objects for the module subsystem.de.extio.spacecraft.shared.server Managers for the game server. -
-
Uses of GameSession in de.extio.spacecraft.shared.bo
Methods in de.extio.spacecraft.shared.bo with parameters of type GameSession Modifier and Type Method Description voidAiFactory. change(UUID ai, AiFactoryCrewManagerType crewManagerType, AiFactorySpacecraftManagerType spacecraftManagerType, GameSession gameSession)Change the behavior of an already spawned AI ship.voidAiFactory. change(UUID ai, Class<? extends AiCrewManager> crewManager, Class<? extends AiSpacecraftManager> spacecraftManager, GameSession gameSession)Change the behavior of an already spawned AI ship.voidSpaceStationFactory. despawn(UUID spaceStationId, GameSession gameSession)Despawns a station, also unregisters it from the ship slotvoidPathFindingEntitySupport. onServerActionMessage(GameActionMessage message, UUID sender, GameSession gameSession, PhysicalEntity entity)voidStorageEntitySupport. onServerConsoleControlEvent(PhysicalEntity storageProviderEntity, GameSession gameSession, UUID sender, String controlId, Object payload)Callback from entity to make storage functionality work.voidStorageEntitySupport. onServerDamage(PhysicalEntity storageProviderEntity, GameSession gameSession, double oldHealth)Callback from entity to make storage functionality work.voidPathFindingEntitySupport. onServerTurnPass0(GameSession gameSession, PhysicalEntity entity)voidStorageEntitySupport. onServerTurnPass0(PhysicalEntity storageProviderEntity, GameSession gameSession)Callback from entity to make storage functionality work.voidPathFindingEntitySupport. onServerTurnPass1(GameSession gameSession, PhysicalEntity entity)voidMeshConsumerSupport. onServerTurnPass2PostComposites(GameSession gameSession, PhysicalEntity entity)LootContainerLootScatterer. scatter(int entityDefIdx, CoordI2 worldPos, int radius, double healthPerc, CoordD2 baseVelocityVector, Edge2 orientation, UUID droppedBy, GameSession gameSession)Use this method to drop loot (e.g.List<LootContainer>LootScatterer. scatter(AbstractEntity entity, LootScatterer.ScatteringMode mode, GameSession gameSession)Use this method to drop random lootdoubleMeshConsumerSupport. serverCalculateEmEmission(GameSession gameSession, PhysicalEntity entity)voidRestrictedEntitySurface. serverCleanupRestrictedEntities(AbstractCompositeEntity parent, AbstractEntity entity, GameSession gameSession)Handles restricting entities, if you derive from core entities this is already integrated.voidRestrictedEntitySurface. serverCleanupRestrictedHullEntity(AbstractCompositeEntity parent, AbstractEntity entity, GameSession gameSession)Handles restricting entities, if you derive from core entities this is already integrated.booleanPathFindingEntitySupport. serverMove(CoordI2 coord, PhysicalEntity entity, UUID sender, GameSession gameSession)booleanPathFindingEntitySupport. serverMoveEntity(GameSession gameSession, AbstractCompositeEntity parent, PhysicalEntity entity, AbstractEntity ignoreEntity)voidRestrictedEntitySurface. serverPrepareRestrictedEntities(AbstractEntity entity, AbstractCompositeEntity parent, UUID recipient, GameSession gameSession)Handles restricting entities, if you derive from core entities this is already integrated.voidRestrictedEntitySurface. 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.voidMeshConsumerSupport. serverRequestAction(UUID meshConsumerId, UUID parentCompositeEntityId, MeshConsumer entity, double inAmountFactor, GameSession gameSession, Consumer<Double> callback)booleanRestrictedEntitySurface. serverRestrictEntity(UUID recipient, AbstractCompositeEntity parent, GameSession gameSession)Whether to restrict the inside of a composite entity parent to player recipientvoidPathFindingEntitySupport. serverTranslateEntityPass1(Edge2 rotation, CoordI2 posSrc, CoordI2 origDim, AbstractCompositeEntity parent, GameSession gameSession, PhysicalEntity entity)UUIDAiFactory. spawn(Area2 area, SpaceCraft spaceCraft, Map<String,Object> spaceCraftProperties, AiFactoryCrewManagerType crewManagerType, AiFactorySpacecraftManagerType spacecraftManagerType, int team, UUID sceneTag, GameSession gameSession)Spawn an AI ship.UUIDAiFactory. spawn(Area2 area, SpaceCraft spaceCraft, Map<String,Object> spaceCraftProperties, Class<? extends AiCrewManager> crewManager, Class<? extends AiSpacecraftManager> spacecraftManager, int team, UUID sceneTag, GameSession gameSession)Spawn an AI ship.UUIDAiFactory. spawn(Area2 area, String storageFilename, AiFactoryCrewManagerType crewManagerType, AiFactorySpacecraftManagerType spacecraftManagerType, int team, UUID sceneTag, GameSession gameSession)Spawn an AI ship.UUIDAiFactory. spawn(Area2 area, String storageFilename, Class<? extends AiCrewManager> crewManager, Class<? extends AiSpacecraftManager> spacecraftManager, int team, UUID sceneTag, GameSession gameSession)Spawn an AI ship.<T extends SpaceStation>
UUIDSpaceStationFactory. spawn(CoordI2 position, String fileMatcher, String modNameMatcher, String path, UUID sceneTag, int team, boolean allTeamsCanEnter, int spawnAtSlotMinIncl, int spawnAtSlotMaxExcl, Class<T> type, Consumer<T> processor, GameSession gameSession)Spawns the station at a certain position, also registers it at a ship slot<T extends SpaceStation>
UUIDSpaceStationFactory. spawnByMarker(String marker, String fileMatcher, String modNameMatcher, String path, UUID sceneTag, int team, boolean allTeamsCanEnter, int spawnAtSlotMinIncl, int spawnAtSlotMaxExcl, Class<T> type, Consumer<T> processor, GameSession gameSession)Spawns the station at the position of a named MarkerEntity, also registers it at a ship slot<T extends SpaceStation>
UUIDSpaceStationFactory. spawnStation(CoordI2 position, UUID sceneTag, int team, boolean allTeamsCanEnter, boolean forceKeepPosition, int spawnAtSlotMinIncl, int spawnAtSlotMaxExcl, T station, Consumer<T> processor, GameSession gameSession)Spawns a preloaded station at a certain position, also registers it at a ship slot. -
Uses of GameSession in de.extio.spacecraft.shared.managers
Methods in de.extio.spacecraft.shared.managers with parameters of type GameSession Modifier and Type Method Description voidAchievementsManager. serverAchieved(String id, GameSession gameSession)This is the main method to grant an achievement to a player.voidAchievementsManager. serverAchieved(String id, Set<UUID> sessions, GameSession gameSession)This is the main method to grant an achievement to multiple players at once (e.g. -
Uses of GameSession in de.extio.spacecraft.shared.model.bo
Methods in de.extio.spacecraft.shared.model.bo with parameters of type GameSession Modifier and Type Method Description voidAiBuildingBlock. analyze(EntityNetworkDiscovery entityNetworkDiscovery, GameSession gameSession, boolean lastTurnActive, boolean canSkip)List<Class<? extends AiBuildingBlock>>AiSpacecraftManager. control(SpaceCraft spaceCraft, EntityNetworkDiscovery entityNetworkDiscovery, AiOrchestrator orchestrator, AiBuildingBlockManager aiBuildingBlockManager, GameSession gameSession)voidAiBuildingBlock. execute(EntityNetworkDiscovery entityNetworkDiscovery, GameSession gameSession)voidAiCrewManager. manageCrew(GameSession gameSession, SpaceCraft spaceCraft, EntityNetworkDiscovery entityNetworkDiscovery, List<CrewEntity> crew, AiBuildingBlockManager aiBuildingBlockManager)voidAiBuildingBlock. process(EntityNetworkDiscovery entityNetworkDiscovery, GameSession gameSession)voidAiCrewManager. unregister(GameSession gameSession, SpaceCraft spaceCraft)voidAiSpacecraftManager. unregister(SpaceCraft spaceCraft, AiOrchestrator orchestrator, AiBuildingBlockManager aiBuildingBlockManager, GameSession gameSession) -
Uses of GameSession in de.extio.spacecraft.shared.model.entity
Methods in de.extio.spacecraft.shared.model.entity with parameters of type GameSession Modifier and Type Method Description voidAbstractCompositeEntity. damageWave(GameSession gameSession, DamageWaveOptions damageWaveOptions, List<AbstractEntity> damagedEntities)Distributes incoming damage on entities.
There are certain aspects relevant for the calculation:
* A tiles consists of several layered entities
* An entity only absorbs a certain amount of damage (plateaus), which is also dependent on the weapon
* A tile can be protected by shields
* Also shields have plateaus
* Damage that is not absorbed propagates to nearby tiles
* Damage cannot propagate through some tiles in certain directions, i.e.protected voidAbstractCompositeEntity. handleMove(GameSession gameSession)Server side: Called on every turn twice (pass0 and pass1) to handle movement of this compositeprotected voidAbstractCompositeEntity. handleMoveApply(GameSession gameSession, CoordD2 newPositionPrecise)Applies a new spatial position on this composite entityvoidAbstractCompositeEntity. onServerActionMessage(GameSession gameSession, UUID sender, GameActionMessage message)Server side: Callback when a GameActionMessage has been received that is addressed to this compositevoidAbstractEntity. onServerActionMessage(GameActionMessage message, UUID sender, GameSession gameSession)Server side: Callback after a message has been received for this entity.protected booleanAbstractCompositeEntity. onServerCollision(GameSession gameSession, Map<AbstractCompositeEntity,List<AbstractEntity>> entityLevelCollisions)Server side: Callback for additional logic when a collision happenedvoidAbstractCompositeEntity. onServerTurnPass0(GameSession gameSession)Server side: Called every turn to contain any logic related to this entitiy.voidAbstractEntity. onServerTurnPass0(GameSession gameSession)Server side: Executes code on every server turn, main pass 1 of 2.voidAbstractCompositeEntity. onServerTurnPass1(GameSession gameSession)Server side: Called every turn to contain any logic related to this entitiy.voidAbstractEntity. onServerTurnPass1(GameSession gameSession)Server side: Executes code on every server turn, main pass 2 of 2.voidAbstractCompositeEntity. onServerTurnPass2(GameSession gameSession)Server side: Called every turn to contain any logic related to this entitiy.voidAbstractEntity. onServerTurnPass2PostComposites(GameSession gameSession)Server side: Executes code on every server turn, postprocessing pass after composite entity pass 2.booleanAbstractCompositeEntity. rotate(GameSession gameSession, Edge2 direction)Rotates this composite entityvoidAbstractEntity. serverCleanupRestrictedEntities(AbstractCompositeEntity parent, GameSession gameSession)Server side: Cleans up restricted entity surfaces.voidAbstractEntity. serverPrepareRestrictedEntities(UUID recipient, AbstractCompositeEntity parent, GameSession gameSession)Server side: Prepares RestrictedEntity instances to be presented instead of this entity to a player.booleanAbstractEntity. serverRestrictEntity(UUID recipient, AbstractCompositeEntity parent, GameSession gameSession)Server side: Checks whether this entity should be restricted to the player recipient, i.e.voidAbstractEntity. serverTranslateEntityPass0(Edge2 rotation, CoordI2 posSrc, CoordI2 origDim, AbstractCompositeEntity parent, GameSession gameSession)Server side: Parent composite entity is rotated, rotates this entityvoidAbstractEntity. serverTranslateEntityPass1(Edge2 rotation, CoordI2 posSrc, CoordI2 origDim, AbstractCompositeEntity parent, GameSession gameSession)Server side: Postprocesses rotation of the parent composite entity.protected voidAbstractCompositeEntity. splitEntityGroups(GameSession gameSession)Splits this composite entity by connected areas to several separated copies, e.g. -
Uses of GameSession in de.extio.spacecraft.shared.model.entity.builtin.composite
Methods in de.extio.spacecraft.shared.model.entity.builtin.composite with parameters of type GameSession Modifier and Type Method Description booleanLootContainerCompositeEntity. collect(GameSession gameSession)voidDarkMatter. damageWave(GameSession gameSession, DamageWaveOptions damageWaveOptions, List<AbstractEntity> damagedEntities)voidImageSurfaceCompositeEntity. damageWave(GameSession gameSession, DamageWaveOptions damageWaveOptions, List<AbstractEntity> damagedEntities)voidInfoCompositeEntity. damageWave(GameSession gameSession, DamageWaveOptions damageWaveOptions, List<AbstractEntity> damagedEntities)voidSpaceShip. damageWave(GameSession gameSession, DamageWaveOptions damageWaveOptions, List<AbstractEntity> damagedEntities)voidSpaceStation. despawn(GameSession gameSession)Server side: Despawns this space station - unregisters from game session ship slotprotected voidInfoCompositeEntity. handleMove(GameSession gameSession)protected booleanSpaceCraft. killCondition(GameSession gameSession)Server side: Checks if the SpaceCraft has been killedprotected booleanSpaceShip. killCondition(GameSession gameSession)protected booleanInfoCompositeEntity. onServerCollision(GameSession gameSession, Map<AbstractCompositeEntity,List<AbstractEntity>> entityLevelCollisions)protected booleanLootContainerCompositeEntity. onServerCollision(GameSession gameSession, Map<AbstractCompositeEntity,List<AbstractEntity>> entityLevelCollisions)protected booleanSpaceCraft. onServerCollision(GameSession gameSession, Map<AbstractCompositeEntity,List<AbstractEntity>> entityLevelCollisions)protected voidSpaceCraft. onServerHullBreach(CoordI2 position, int change, GameSession gameSession)Server side: Additional logic on tiles with a hull breachprotected voidSpaceShip. onServerHullBreach(CoordI2 position, int change, GameSession gameSession)protected voidSpaceCraft. onServerSpaceCraftKilled(GameSession gameSession, boolean initial)Server side: Called every turn when the spacecraft has been killedprotected voidSpaceShip. onServerSpaceCraftKilled(GameSession gameSession, boolean initial)voidDarkMatter. onServerTurnPass0(GameSession gameSession)voidGenericRestrictedCompositeEntity. onServerTurnPass0(GameSession gameSession)voidImageSurfaceCompositeEntity. onServerTurnPass0(GameSession gameSession)voidLootContainerCompositeEntity. onServerTurnPass0(GameSession gameSession)voidSpaceCraft. onServerTurnPass0(GameSession gameSession)voidSpaceShip. onServerTurnPass0(GameSession gameSession)voidSpaceStation. onServerTurnPass0(GameSession gameSession)voidSpaceCraft. onServerTurnPass1(GameSession gameSession)voidDarkMatter. onServerTurnPass2(GameSession gameSession)voidSpaceCraft. onServerTurnPass2(GameSession gameSession)voidLootContainerCompositeEntity. reserve(CompositeAndEntityId collectBy, GameSession gameSession)booleanGenericRestrictedCompositeEntity. rotate(GameSession gameSession, Edge2 direction)booleanSpaceCraft. rotate(GameSession gameSession, Edge2 direction)voidImageSurfaceCompositeEntity. serverBuildSurface(GameSession gameSession)protected voidSpaceCraft. serverHullBreach(GameSession gameSession)Server side: Implements hull breaches on tiles. -
Uses of GameSession in de.extio.spacecraft.shared.model.entity.builtin.live
Methods in de.extio.spacecraft.shared.model.entity.builtin.live with parameters of type GameSession Modifier and Type Method Description voidPhysicalEntity. handleEnabledState(GameSession gameSession)Server side: Handles changing the enabled state of this entityvoidAsteroidScenarioScriptingEntity. onServerActionMessage(GameActionMessage message, UUID sender, GameSession gameSession)voidCrewEntity. onServerActionMessage(GameActionMessage message, UUID sender, GameSession gameSession)voidPhysicalEntity. onServerActionMessage(GameActionMessage message, UUID sender, GameSession gameSession)voidAutomationHandler. onServerAutomationRun(GameSession gameSession, AbstractCompositeEntity parent, List<AutomationEntity> automatedEntities, List<AutomationEntity> automatedEntitiesReady)protected voidAbstractScriptingEntity. onServerCompositeEntityRadiusEntered(AbstractCompositeEntity compositeEntity, GameSession gameSession)Server side: Called when any entity entered this.radius.protected voidAbstractScriptingEntity. onServerCompositeEntityRadiusLeft(UUID compositeEntityId, GameSession gameSession)Server side: Called when any entity left this.radius.voidAbstractWeaponEntity. onServerConsoleControlEvent(GameSession gameSession, UUID sender, String controlId, Object payload)voidPhysicalEntity. onServerConsoleControlEvent(GameSession gameSession, UUID sender, String controlId, Object payload)Server side: Called when the user interacted with a control in the entity consolevoidCrewEntity. onServerDamage(GameSession gameSession, double oldHealth)voidPhysicalEntity. onServerDamage(GameSession gameSession, double oldHealth)Server side: Called when the entity took damagedefault voidStorableEntity. onServerStorageEject(int entityDefIdx, CoordI2 worldPos, AbstractCompositeEntity parent, GameSession gameSession)voidActionItemEntity. onServerStorageExplode(GameSession gameSession)voidLootContainer. onServerStorageExplode(GameSession gameSession)voidStorableEntity. onServerStorageExplode(GameSession gameSession)voidStructureEntity. onServerStorageExplode(GameSession gameSession)protected voidAbstractScriptingEntity. onServerTurnCompositeEntitiesInRadius(List<AbstractCompositeEntity> compositeEntities, GameSession gameSession)Server side: Called on every turn, providing a list of entities currently inside radius.voidAbstractScriptingEntity. onServerTurnPass0(GameSession gameSession)voidAbstractWeaponEntity. onServerTurnPass0(GameSession gameSession)voidAsteroidScenarioScriptingEntity. onServerTurnPass0(GameSession gameSession)voidCrewEntity. onServerTurnPass0(GameSession gameSession)voidPhysicalEntity. onServerTurnPass0(GameSession gameSession)voidStructureEntity. onServerTurnPass0(GameSession gameSession)voidAbstractWeaponEntity. onServerTurnPass1(GameSession gameSession)voidPhysicalEntity. onServerTurnPass1(GameSession gameSession)voidAbstractMeshEntity. onServerTurnPass2PostComposites(GameSession gameSession)voidAbstractWeaponEntity. onServerTurnPass2PostComposites(GameSession gameSession)protected voidAbstractWeaponEntity. publishStarvedAction(GameSession gameSession, String reason)voidAbstractWeaponEntity. serverAbortEntityAction(GameSession gameSession, boolean publishAsPendingAction)voidPhysicalEntity. serverAbortEntityAction(GameSession gameSession, boolean publishAsPendingAction)Server side: Aborts the current action the entity is executingprotected abstract voidAbstractWeaponEntity. serverAttack(GameSession gameSession, AbstractCompositeEntity composite, CoordI2 entityPos, Runnable onAttack)doubleAbstractWeaponEntity. serverCalculateEmEmission(GameSession gameSession)doublePhysicalEntity. serverCalculateEmEmission(GameSession gameSession)Server side: Calculates the EM emission of this entityvoidAbstractWeaponEntity. serverCleanupRestrictedEntities(AbstractCompositeEntity parent, GameSession gameSession)booleanCrewEntityActionProvider. serverExecuteCrewEntityAction(CrewEntity crewEntity, GameSession gameSession)Executes custom entity actionprotected abstract ViewPortEffectEventAbstractWeaponEntity. serverGenerateWeaponFireEffectEvent(GameSession gameSession, CoordI2 targetWorldPos, UUID compositeEntityId, CoordI2 entityPos)voidAbstractWeaponEntity. serverPrepareRestrictedEntities(UUID recipient, AbstractCompositeEntity parent, GameSession gameSession)voidFloorEntity. serverPrepareRestrictedEntities(UUID recipient, AbstractCompositeEntity parent, GameSession gameSession)protected abstract voidAbstractWeaponEntity. serverProcessFinalTarget(Random rand, GameSession gameSession, AbstractCompositeEntity parent, AbstractWeaponEntityDef entityDef, CoordI2 weaponWorldPos, org.apache.commons.lang3.mutable.MutableObject<AbstractCompositeEntity> finalTargetComposite, CoordI2 finalTargetPos, CoordI2 finalTargetWorldPos)voidAbstractWeaponEntity. serverPublishUpdateAll(GameSession gameSession, UUID sender)booleanAbstractWeaponEntity. serverRestrictEntity(UUID recipient, AbstractCompositeEntity parent, GameSession gameSession)booleanRestrictedEntity. serverRestrictEntity(UUID recipient, AbstractCompositeEntity parent, GameSession gameSession)booleanStructureEntity. serverRestrictEntity(UUID recipient, AbstractCompositeEntity parent, GameSession gameSession)voidPhysicalEntity. serverSetEntityAction(String qualifier, CompositeAndEntityId target, CoordI2 targetCoord, boolean abortFirst, boolean forceNeedsOperator, boolean ignoreNeedsOperator, boolean deferActionMessage, UUID playerId, GameSession gameSession)Server side: Sets an action the entity is executingprotected voidPhysicalEntity. serverSplitOnDamage(GameSession gameSession)Server side: Executes splitting an entity away from the current parent to a separate composite entity after taking heavy damage.voidAbstractMeshEntity. serverTranslateEntityPass0(Edge2 rotation, CoordI2 posSrc, CoordI2 origDim, AbstractCompositeEntity parent, GameSession gameSession)voidAbstractWeaponEntity. serverTranslateEntityPass1(Edge2 rotation, CoordI2 posSrc, CoordI2 origDim, AbstractCompositeEntity parent, GameSession gameSession)voidAutomationAction. serverTranslateEntityPass1(Edge2 rotation, CoordI2 dimension, GameSession gameSession)voidCrewEntity. serverTranslateEntityPass1(Edge2 rotation, CoordI2 posSrc, CoordI2 origDim, AbstractCompositeEntity parent, GameSession gameSession)voidFloorEntity. serverTranslateEntityPass1(Edge2 rotation, CoordI2 posSrc, CoordI2 origDim, AbstractCompositeEntity parent, GameSession gameSession)voidPhysicalEntity. serverTranslateEntityPass1(Edge2 rotation, CoordI2 posSrc, CoordI2 origDim, AbstractCompositeEntity parent, GameSession gameSession) -
Uses of GameSession in de.extio.spacecraft.shared.model.entity.builtin.live.mod
Methods in de.extio.spacecraft.shared.model.entity.builtin.live.mod with parameters of type GameSession Modifier and Type Method Description voidAbstractEntityMod. onServerStorageExplode(GameSession gameSession) -
Uses of GameSession in de.extio.spacecraft.shared.model.entity.builtin.live.scripting
Methods in de.extio.spacecraft.shared.model.entity.builtin.live.scripting with parameters of type GameSession Modifier and Type Method Description protected voidLoadSceneScriptingEntity. onServerCompositeEntityRadiusEntered(AbstractCompositeEntity compositeEntity, GameSession gameSession)protected voidNextObjectiveWhenAreaCleared. onServerCompositeEntityRadiusEntered(AbstractCompositeEntity compositeEntity, GameSession gameSession)protected voidSetDifficulty. onServerCompositeEntityRadiusEntered(AbstractCompositeEntity compositeEntity, GameSession gameSession)protected voidSetGameSessionOptions. onServerCompositeEntityRadiusEntered(AbstractCompositeEntity compositeEntity, GameSession gameSession)protected voidSetObjective. onServerCompositeEntityRadiusEntered(AbstractCompositeEntity compositeEntity, GameSession gameSession)protected voidWarpPlayer. onServerCompositeEntityRadiusEntered(AbstractCompositeEntity compositeEntity, GameSession gameSession)voidDespawnAlliesWhenCleared. onServerTurnPass0(GameSession gameSession)voidAiSpawnPortalsInWaves. onServerTurnPass2PostComposites(GameSession gameSession)voidLockObjectInPlace. onServerTurnPass2PostComposites(GameSession gameSession)voidNextObjectiveWhenAreaCleared. onServerTurnPass2PostComposites(GameSession gameSession)voidNextObjectiveWhenDestroyed. onServerTurnPass2PostComposites(GameSession gameSession)voidRespawnAsSpaceStation. onServerTurnPass2PostComposites(GameSession gameSession) -
Uses of GameSession in de.extio.spacecraft.shared.module
Methods in de.extio.spacecraft.shared.module with parameters of type GameSession Modifier and Type Method Description voidAbstractServerModule. onGameSessionFirstTurn(GameSession gameSession)voidServerModule. onGameSessionFirstTurn(GameSession gameSession)voidAbstractServerModule. onGameSessionStart(GameSession gameSession)voidServerModule. onGameSessionStart(GameSession gameSession)voidAbstractServerModule. onGameSessionUpdatePlayers(GameSession gameSession)voidServerModule. onGameSessionUpdatePlayers(GameSession gameSession)voidAbstractServerModule. onMessage(GameSession gameSession, UUID sender, AbstractMessage message)voidServerModule. onMessage(GameSession gameSession, UUID sender, AbstractMessage message)voidAbstractServerModule. runAfterEntities(GameSession gameSession)voidServerModule. runAfterEntities(GameSession gameSession)voidAbstractServerModule. runBeforeEntities(GameSession gameSession)voidServerModule. runBeforeEntities(GameSession gameSession) -
Uses of GameSession in de.extio.spacecraft.shared.server
Methods in de.extio.spacecraft.shared.server that return GameSession Modifier and Type Method Description abstract GameSessionServerFacade. getCurrentGameSession()Returns the game session context object that is currently active in the thread context.abstract GameSessionServerFacade. getGameSessionById(UUID gameSessionId)Returns the game session by idabstract GameSessionServerFacade. getGameSessionByPlayerId(UUID netSessionId)Returns the game session a player is connected toMethods in de.extio.spacecraft.shared.server with parameters of type GameSession Modifier and Type Method Description abstract voidServerFacade. initReproducibleSessionRng(GameSession gameSession, String state)abstract voidServerFacade. initSessionRng(GameSession gameSession, String state)abstract voidServerFacade. publishInternalMessage(GameSession gameSession, AbstractMessage message, boolean processImmediately)Sends a Message internally, it remains on the game server and can be processed by any module / composite / entity subscribing to itabstract voidServerFacade. publishMessage(GameSession gameSession, Set<UUID> destinations, AbstractMessage message, boolean defer)Sends a Message to a clientabstract voidServerFacade. publishMessageToAll(GameSession gameSession, AbstractMessage message, boolean defer)Sends a Message to all clients
-