Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- type Replay = ReplayWith (Section Header) (Section Content)
- data ReplayWith header content = Replay {}
- schema :: Schema -> Schema -> Schema
- schemaUrl :: String
- bytePut :: Replay -> BytePut
- byteGet :: Bool -> Bool -> ByteGet Replay
- getContent :: Header -> ByteGet Content
- getMatchType :: Header -> Maybe Str
- getNumFrames :: Header -> Int
- getMaxChannels :: Header -> Word
Documentation
data ReplayWith header content Source #
A Rocket League replay.
Instances
(FromJSON h, FromJSON c) => FromJSON (ReplayWith h c) Source # | |
Defined in Rattletrap.Type.Replay parseJSON :: Value -> Parser (ReplayWith h c) # parseJSONList :: Value -> Parser [ReplayWith h c] # | |
(ToJSON h, ToJSON c) => ToJSON (ReplayWith h c) Source # | |
Defined in Rattletrap.Type.Replay toJSON :: ReplayWith h c -> Value # toEncoding :: ReplayWith h c -> Encoding # toJSONList :: [ReplayWith h c] -> Value # toEncodingList :: [ReplayWith h c] -> Encoding # | |
(Show header, Show content) => Show (ReplayWith header content) Source # | |
Defined in Rattletrap.Type.Replay showsPrec :: Int -> ReplayWith header content -> ShowS # show :: ReplayWith header content -> String # showList :: [ReplayWith header content] -> ShowS # | |
(Eq header, Eq content) => Eq (ReplayWith header content) Source # | |
Defined in Rattletrap.Type.Replay (==) :: ReplayWith header content -> ReplayWith header content -> Bool # (/=) :: ReplayWith header content -> ReplayWith header content -> Bool # |
getNumFrames :: Header -> Int Source #
getMaxChannels :: Header -> Word Source #