{-# LANGUAGE TemplateHaskell #-}

module Rattletrap.Type.StatEventAttribute
  ( StatEventAttribute(..)
  )
where

import Rattletrap.Type.Common
import Rattletrap.Type.Int32le

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

$(deriveJson ''StatEventAttribute)