gore-and-ash-sync 1.1.0.0 → 1.1.1.0
raw patch · 3 files changed
+10/−2 lines, 3 files
Files
- gore-and-ash-sync.cabal +1/−1
- src/Game/GoreAndAsh/Sync.hs +7/−0
- src/Game/GoreAndAsh/Sync/Module.hs +2/−1
gore-and-ash-sync.cabal view
@@ -1,5 +1,5 @@ name: gore-and-ash-sync-version: 1.1.0.0+version: 1.1.1.0 synopsis: Gore&Ash module for high level network synchronization description: Please see README.md homepage: https://github.com/Teaspot-Studio/gore-and-ash-sync
src/Game/GoreAndAsh/Sync.hs view
@@ -1,3 +1,4 @@+{-# OPTIONS_GHC -fno-warn-unused-imports #-} {-| Module : Game.GoreAndAsh.Sync Description : Gore&Ash high-level networking core module@@ -109,6 +110,12 @@ , remoteActorCollectionServer , remoteActorCollectionClient ) where++-- for docs+import Game.GoreAndAsh+import Game.GoreAndAsh.Actor +import Game.GoreAndAsh.Logging +import Game.GoreAndAsh.Network import Game.GoreAndAsh.Sync.API as X import Game.GoreAndAsh.Sync.Message as X
src/Game/GoreAndAsh/Sync/Module.hs view
@@ -22,6 +22,7 @@ import Control.Monad.State.Strict import Data.Maybe import Data.Monoid +import Data.Proxy import Data.Serialize import Data.Text (Text, pack) import Data.Word@@ -83,7 +84,7 @@ return (a, s'') newModuleState = emptySyncState <$> newModuleState- withModule _ = id+ withModule _ = withModule (Proxy :: Proxy m) cleanupModule _ = return () -- | Detect service messages arrived to the machine and process them