Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
data ProductValue Source #
PaintedOld CompressedWord | |
PaintedNew Word32 | |
TeamEditionOld CompressedWord | |
TeamEditionNew Word32 | |
SpecialEdition Word32 | |
UserColorOld (Maybe Word32) | |
UserColorNew U32 | |
TitleId Str |
Instances
FromJSON ProductValue Source # | |
Defined in Rattletrap.Type.Attribute.ProductValue parseJSON :: Value -> Parser ProductValue # parseJSONList :: Value -> Parser [ProductValue] # | |
ToJSON ProductValue Source # | |
Defined in Rattletrap.Type.Attribute.ProductValue toJSON :: ProductValue -> Value # toEncoding :: ProductValue -> Encoding # toJSONList :: [ProductValue] -> Value # toEncodingList :: [ProductValue] -> Encoding # omitField :: ProductValue -> Bool # | |
Show ProductValue Source # | |
Defined in Rattletrap.Type.Attribute.ProductValue showsPrec :: Int -> ProductValue -> ShowS # show :: ProductValue -> String # showList :: [ProductValue] -> ShowS # | |
Eq ProductValue Source # | |
Defined in Rattletrap.Type.Attribute.ProductValue (==) :: ProductValue -> ProductValue -> Bool # (/=) :: ProductValue -> ProductValue -> Bool # |
bitPut :: ProductValue -> BitPut Source #
decodeColor :: Version -> BitGet ProductValue Source #
hasNewPainted :: Version -> Bool Source #