Rattletrap.Type.Frame
data Frame Source #
Constructors
Fields
Time in seconds since the beginning of the match.
Time in seconds since the last frame. Usually about 0.03 since there are 30 frames per second.
Defined in Rattletrap.Type.Frame
Methods
(==) :: Frame -> Frame -> Bool #
(/=) :: Frame -> Frame -> Bool #
showsPrec :: Int -> Frame -> ShowS #
show :: Frame -> String #
showList :: [Frame] -> ShowS #
toJSON :: Frame -> Value #
toEncoding :: Frame -> Encoding #
toJSONList :: [Frame] -> Value #
toEncodingList :: [Frame] -> Encoding #
parseJSON :: Value -> Parser Frame #
parseJSONList :: Value -> Parser [Frame] #
schema :: Schema Source #
putFrames :: List Frame -> BitPut Source #
bitPut :: Frame -> BitPut Source #
decodeFramesBits :: Maybe Str -> Version -> Int -> Word -> ClassAttributeMap -> StateT (Map CompressedWord U32) BitGet (List Frame) Source #
bitGet :: Maybe Str -> Version -> Word -> ClassAttributeMap -> StateT (Map CompressedWord U32) BitGet Frame Source #