Interface ServerModule
-
- All Superinterfaces:
Module
- All Known Implementing Classes:
AbstractServerModule
public interface ServerModule extends Module
Contract for all server modules
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ServerModuleType
getServerModuleType()
void
onGameSessionFirstTurn(GameSession gameSession)
void
onGameSessionStart(GameSession gameSession)
void
onGameSessionUpdatePlayers(GameSession gameSession)
void
onMessage(GameSession gameSession, UUID sender, AbstractMessage message)
void
runAfterEntities(GameSession gameSession)
void
runBeforeEntities(GameSession gameSession)
-
Methods inherited from interface de.extio.spacecraft.shared.module.Module
getMessageSubscriptions, onActivate, onDeactivate, onLoad, onUnload
-
-
-
-
Method Detail
-
getServerModuleType
ServerModuleType getServerModuleType()
-
onGameSessionStart
void onGameSessionStart(GameSession gameSession)
-
onGameSessionFirstTurn
void onGameSessionFirstTurn(GameSession gameSession)
-
onGameSessionUpdatePlayers
void onGameSessionUpdatePlayers(GameSession gameSession)
-
runBeforeEntities
void runBeforeEntities(GameSession gameSession)
-
runAfterEntities
void runAfterEntities(GameSession gameSession)
-
onMessage
void onMessage(GameSession gameSession, UUID sender, AbstractMessage message)
-
-