fix polymorphic serialization, and update the names of some schema objects
This commit is contained in:
parent
e5feabf7eb
commit
2208c91652
11 changed files with 109 additions and 55 deletions
|
|
@ -4,8 +4,8 @@ import dev.adamko.kafkatorio.events.schema.ConsoleChatMessage
|
|||
import dev.adamko.kafkatorio.events.schema.EntityData
|
||||
import dev.adamko.kafkatorio.events.schema.FactorioConfigurationUpdate
|
||||
import dev.adamko.kafkatorio.events.schema.FactorioEvent
|
||||
import dev.adamko.kafkatorio.events.schema.FactorioMapChunk
|
||||
import dev.adamko.kafkatorio.events.schema.FactorioMapTile
|
||||
import dev.adamko.kafkatorio.events.schema.MapChunk
|
||||
import dev.adamko.kafkatorio.events.schema.MapTile
|
||||
import dev.adamko.kafkatorio.events.schema.KafkatorioPacket
|
||||
import dev.adamko.kafkatorio.events.schema.PlayerData
|
||||
import dev.adamko.kafkatorio.events.schema.SurfaceData
|
||||
|
|
@ -42,10 +42,10 @@ class WebsocketService(
|
|||
is PlayerData ->
|
||||
reduxStore.dispatch(FactorioUpdate.PlayerUpdate(event, eventData))
|
||||
is ConsoleChatMessage -> {}
|
||||
is EntityData -> {}
|
||||
is FactorioMapChunk -> {}
|
||||
is FactorioMapTile -> {}
|
||||
is SurfaceData -> {}
|
||||
is EntityData -> {}
|
||||
is MapChunk -> {}
|
||||
is MapTile -> {}
|
||||
is SurfaceData -> {}
|
||||
}
|
||||
}
|
||||
is FactorioConfigurationUpdate -> {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue