gameServer/HWProtoChecker.hs
author unc0rr
Sat, 09 Feb 2013 00:11:14 +0400
changeset 8483 d5fd4d7a0bcc
parent 8479 8d71109b04d2
child 8507 f4475782cf45
permissions -rw-r--r--
Also convert teams to complete game config. The whole feature is still untested at all.

{-# LANGUAGE OverloadedStrings #-}
module HWProtoChecker where

import qualified Data.Map as Map
import Data.Maybe
import Data.List
import Control.Monad.Reader
--------------------------------------
import CoreTypes
import Actions
import Utils
import HandlerUtils
import RoomsAndClients
import EngineInteraction


handleCmd_checker :: CmdHandler

handleCmd_checker ["READY"] = return [CheckRecord]

handleCmd_checker _ = return [ProtocolError "Unknown command"]