{-# LANGUAGE TemplateHaskell #-}

module Rattletrap.Type.TeamPaintAttribute
  ( TeamPaintAttribute(..)
  )
where

import Rattletrap.Type.Common
import Rattletrap.Type.Word32le
import Rattletrap.Type.Word8le

data TeamPaintAttribute = TeamPaintAttribute
  { TeamPaintAttribute -> Word8le
teamPaintAttributeTeam :: Word8le
  , TeamPaintAttribute -> Word8le
teamPaintAttributePrimaryColor :: Word8le
  , TeamPaintAttribute -> Word8le
teamPaintAttributeAccentColor :: Word8le
  , TeamPaintAttribute -> Word32le
teamPaintAttributePrimaryFinish :: Word32le
  , TeamPaintAttribute -> Word32le
teamPaintAttributeAccentFinish :: Word32le
  } deriving (TeamPaintAttribute -> TeamPaintAttribute -> Bool
(TeamPaintAttribute -> TeamPaintAttribute -> Bool)
-> (TeamPaintAttribute -> TeamPaintAttribute -> Bool)
-> Eq TeamPaintAttribute
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: TeamPaintAttribute -> TeamPaintAttribute -> Bool
$c/= :: TeamPaintAttribute -> TeamPaintAttribute -> Bool
== :: TeamPaintAttribute -> TeamPaintAttribute -> Bool
$c== :: TeamPaintAttribute -> TeamPaintAttribute -> Bool
Eq, Eq TeamPaintAttribute
Eq TeamPaintAttribute
-> (TeamPaintAttribute -> TeamPaintAttribute -> Ordering)
-> (TeamPaintAttribute -> TeamPaintAttribute -> Bool)
-> (TeamPaintAttribute -> TeamPaintAttribute -> Bool)
-> (TeamPaintAttribute -> TeamPaintAttribute -> Bool)
-> (TeamPaintAttribute -> TeamPaintAttribute -> Bool)
-> (TeamPaintAttribute -> TeamPaintAttribute -> TeamPaintAttribute)
-> (TeamPaintAttribute -> TeamPaintAttribute -> TeamPaintAttribute)
-> Ord TeamPaintAttribute
TeamPaintAttribute -> TeamPaintAttribute -> Bool
TeamPaintAttribute -> TeamPaintAttribute -> Ordering
TeamPaintAttribute -> TeamPaintAttribute -> TeamPaintAttribute
forall a.
Eq a
-> (a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
min :: TeamPaintAttribute -> TeamPaintAttribute -> TeamPaintAttribute
$cmin :: TeamPaintAttribute -> TeamPaintAttribute -> TeamPaintAttribute
max :: TeamPaintAttribute -> TeamPaintAttribute -> TeamPaintAttribute
$cmax :: TeamPaintAttribute -> TeamPaintAttribute -> TeamPaintAttribute
>= :: TeamPaintAttribute -> TeamPaintAttribute -> Bool
$c>= :: TeamPaintAttribute -> TeamPaintAttribute -> Bool
> :: TeamPaintAttribute -> TeamPaintAttribute -> Bool
$c> :: TeamPaintAttribute -> TeamPaintAttribute -> Bool
<= :: TeamPaintAttribute -> TeamPaintAttribute -> Bool
$c<= :: TeamPaintAttribute -> TeamPaintAttribute -> Bool
< :: TeamPaintAttribute -> TeamPaintAttribute -> Bool
$c< :: TeamPaintAttribute -> TeamPaintAttribute -> Bool
compare :: TeamPaintAttribute -> TeamPaintAttribute -> Ordering
$ccompare :: TeamPaintAttribute -> TeamPaintAttribute -> Ordering
$cp1Ord :: Eq TeamPaintAttribute
Ord, Int -> TeamPaintAttribute -> ShowS
[TeamPaintAttribute] -> ShowS
TeamPaintAttribute -> String
(Int -> TeamPaintAttribute -> ShowS)
-> (TeamPaintAttribute -> String)
-> ([TeamPaintAttribute] -> ShowS)
-> Show TeamPaintAttribute
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [TeamPaintAttribute] -> ShowS
$cshowList :: [TeamPaintAttribute] -> ShowS
show :: TeamPaintAttribute -> String
$cshow :: TeamPaintAttribute -> String
showsPrec :: Int -> TeamPaintAttribute -> ShowS
$cshowsPrec :: Int -> TeamPaintAttribute -> ShowS
Show)

$(deriveJson ''TeamPaintAttribute)