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 ServerModuleTypegetServerModuleType()voidonGameSessionFirstTurn(GameSession gameSession)voidonGameSessionStart(GameSession gameSession)voidonGameSessionUpdatePlayers(GameSession gameSession)voidonMessage(GameSession gameSession, UUID sender, AbstractMessage message)voidrunAfterEntities(GameSession gameSession)voidrunBeforeEntities(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)
-
-