gameServer/Votes.hs
author unc0rr
Wed, 22 Jan 2014 14:45:33 +0400
changeset 10050 9616052bd333
parent 10049 ca11d122f54e
child 10058 4ed428389c4e
permissions -rw-r--r--
Check if frontend was too lazy to actually send drawn map data to the server

module Votes where

import Data.Unique
import CoreTypes
import RoomsAndClients
import Control.Monad.Reader
import Control.Monad.State
import ServerState

voted :: Unique -> Bool -> Reader (ClientIndex, IRnC) [Action]
voted = undefined

startVote :: VoteType -> Reader (ClientIndex, IRnC) [Action]
startVote = undefined

checkVotes :: StateT ServerState IO ()
checkVotes = undefined