{-# LANGUAGE TemplateHaskell #-}

module Rattletrap.Type.PlayerHistoryKeyAttribute
  ( PlayerHistoryKeyAttribute(..)
  )
where

import Rattletrap.Type.Common

newtype PlayerHistoryKeyAttribute = PlayerHistoryKeyAttribute
  { PlayerHistoryKeyAttribute -> Word16
playerHistoryKeyAttributeUnknown :: Word16
  } deriving (PlayerHistoryKeyAttribute -> PlayerHistoryKeyAttribute -> Bool
(PlayerHistoryKeyAttribute -> PlayerHistoryKeyAttribute -> Bool)
-> (PlayerHistoryKeyAttribute -> PlayerHistoryKeyAttribute -> Bool)
-> Eq PlayerHistoryKeyAttribute
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PlayerHistoryKeyAttribute -> PlayerHistoryKeyAttribute -> Bool
$c/= :: PlayerHistoryKeyAttribute -> PlayerHistoryKeyAttribute -> Bool
== :: PlayerHistoryKeyAttribute -> PlayerHistoryKeyAttribute -> Bool
$c== :: PlayerHistoryKeyAttribute -> PlayerHistoryKeyAttribute -> Bool
Eq, Eq PlayerHistoryKeyAttribute
Eq PlayerHistoryKeyAttribute
-> (PlayerHistoryKeyAttribute
    -> PlayerHistoryKeyAttribute -> Ordering)
-> (PlayerHistoryKeyAttribute -> PlayerHistoryKeyAttribute -> Bool)
-> (PlayerHistoryKeyAttribute -> PlayerHistoryKeyAttribute -> Bool)
-> (PlayerHistoryKeyAttribute -> PlayerHistoryKeyAttribute -> Bool)
-> (PlayerHistoryKeyAttribute -> PlayerHistoryKeyAttribute -> Bool)
-> (PlayerHistoryKeyAttribute
    -> PlayerHistoryKeyAttribute -> PlayerHistoryKeyAttribute)
-> (PlayerHistoryKeyAttribute
    -> PlayerHistoryKeyAttribute -> PlayerHistoryKeyAttribute)
-> Ord PlayerHistoryKeyAttribute
PlayerHistoryKeyAttribute -> PlayerHistoryKeyAttribute -> Bool
PlayerHistoryKeyAttribute -> PlayerHistoryKeyAttribute -> Ordering
PlayerHistoryKeyAttribute
-> PlayerHistoryKeyAttribute -> PlayerHistoryKeyAttribute
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 :: PlayerHistoryKeyAttribute
-> PlayerHistoryKeyAttribute -> PlayerHistoryKeyAttribute
$cmin :: PlayerHistoryKeyAttribute
-> PlayerHistoryKeyAttribute -> PlayerHistoryKeyAttribute
max :: PlayerHistoryKeyAttribute
-> PlayerHistoryKeyAttribute -> PlayerHistoryKeyAttribute
$cmax :: PlayerHistoryKeyAttribute
-> PlayerHistoryKeyAttribute -> PlayerHistoryKeyAttribute
>= :: PlayerHistoryKeyAttribute -> PlayerHistoryKeyAttribute -> Bool
$c>= :: PlayerHistoryKeyAttribute -> PlayerHistoryKeyAttribute -> Bool
> :: PlayerHistoryKeyAttribute -> PlayerHistoryKeyAttribute -> Bool
$c> :: PlayerHistoryKeyAttribute -> PlayerHistoryKeyAttribute -> Bool
<= :: PlayerHistoryKeyAttribute -> PlayerHistoryKeyAttribute -> Bool
$c<= :: PlayerHistoryKeyAttribute -> PlayerHistoryKeyAttribute -> Bool
< :: PlayerHistoryKeyAttribute -> PlayerHistoryKeyAttribute -> Bool
$c< :: PlayerHistoryKeyAttribute -> PlayerHistoryKeyAttribute -> Bool
compare :: PlayerHistoryKeyAttribute -> PlayerHistoryKeyAttribute -> Ordering
$ccompare :: PlayerHistoryKeyAttribute -> PlayerHistoryKeyAttribute -> Ordering
$cp1Ord :: Eq PlayerHistoryKeyAttribute
Ord, Int -> PlayerHistoryKeyAttribute -> ShowS
[PlayerHistoryKeyAttribute] -> ShowS
PlayerHistoryKeyAttribute -> String
(Int -> PlayerHistoryKeyAttribute -> ShowS)
-> (PlayerHistoryKeyAttribute -> String)
-> ([PlayerHistoryKeyAttribute] -> ShowS)
-> Show PlayerHistoryKeyAttribute
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PlayerHistoryKeyAttribute] -> ShowS
$cshowList :: [PlayerHistoryKeyAttribute] -> ShowS
show :: PlayerHistoryKeyAttribute -> String
$cshow :: PlayerHistoryKeyAttribute -> String
showsPrec :: Int -> PlayerHistoryKeyAttribute -> ShowS
$cshowsPrec :: Int -> PlayerHistoryKeyAttribute -> ShowS
Show)

$(deriveJson ''PlayerHistoryKeyAttribute)