octane-0.16.1: Parse Rocket League replays.

Safe HaskellNone
LanguageHaskell2010

Octane.Type.Int32

Synopsis

Documentation

newtype Int32 Source #

A 32-bit signed integer.

Constructors

Int32 

Fields

Instances

Enum Int32 Source # 
Eq Int32 Source # 

Methods

(==) :: Int32 -> Int32 -> Bool #

(/=) :: Int32 -> Int32 -> Bool #

Num Int32 Source # 
Ord Int32 Source # 

Methods

compare :: Int32 -> Int32 -> Ordering #

(<) :: Int32 -> Int32 -> Bool #

(<=) :: Int32 -> Int32 -> Bool #

(>) :: Int32 -> Int32 -> Bool #

(>=) :: Int32 -> Int32 -> Bool #

max :: Int32 -> Int32 -> Int32 #

min :: Int32 -> Int32 -> Int32 #

Show Int32 Source #

Shown as 1234.

Methods

showsPrec :: Int -> Int32 -> ShowS #

show :: Int32 -> String #

showList :: [Int32] -> ShowS #

Generic Int32 Source # 

Associated Types

type Rep Int32 :: * -> * #

Methods

from :: Int32 -> Rep Int32 x #

to :: Rep Int32 x -> Int32 #

Binary Int32 Source #

Little-endian.

Methods

put :: Int32 -> Put #

get :: Get Int32 #

putList :: [Int32] -> Put #

NFData Int32 Source # 

Methods

rnf :: Int32 -> () #

ToJSON Int32 Source #

Encoded as a JSON number directly.

Methods

toJSON :: Int32 -> Value

toEncoding :: Int32 -> Encoding

toJSONList :: [Int32] -> Value

toEncodingList :: [Int32] -> Encoding

BinaryBit Int32 Source #

Little-endian with the bits in each byte reversed.

Methods

putBits :: Int -> Int32 -> BitPut ()

getBits :: Int -> BitGet Int32

HasField "actorId" WeldedInfoValue Int32 

Methods

getField :: Proxy# Symbol "actorId" -> WeldedInfoValue -> Int32

HasField "content" IntProperty Int32 

Methods

getField :: Proxy# Symbol "content" -> IntProperty -> Int32

HasField "int" FlaggedIntValue Int32 
HasField "unpack" Int32 Int32 Source # 

Methods

getField :: Proxy# Symbol "unpack" -> Int32 -> Int32

HasField "unpack" IntValue Int32 

Methods

getField :: Proxy# Symbol "unpack" -> IntValue -> Int32

ModifyField "actorId" WeldedInfoValue WeldedInfoValue Int32 Int32 
ModifyField "content" IntProperty IntProperty Int32 Int32 

Methods

modifyField :: Proxy# Symbol "content" -> (Int32 -> Int32) -> IntProperty -> IntProperty

setField :: Proxy# Symbol "content" -> IntProperty -> Int32 -> IntProperty

fieldLens :: Functor f => Proxy# Symbol "content" -> (Int32 -> f Int32) -> IntProperty -> f IntProperty

ModifyField "int" FlaggedIntValue FlaggedIntValue Int32 Int32 
ModifyField "unpack" Int32 Int32 Int32 Int32 Source # 

Methods

modifyField :: Proxy# Symbol "unpack" -> (Int32 -> Int32) -> Int32 -> Int32

setField :: Proxy# Symbol "unpack" -> Int32 -> Int32 -> Int32

fieldLens :: Functor f => Proxy# Symbol "unpack" -> (Int32 -> f Int32) -> Int32 -> f Int32

ModifyField "unpack" IntValue IntValue Int32 Int32 

Methods

modifyField :: Proxy# Symbol "unpack" -> (Int32 -> Int32) -> IntValue -> IntValue

setField :: Proxy# Symbol "unpack" -> IntValue -> Int32 -> IntValue

fieldLens :: Functor f => Proxy# Symbol "unpack" -> (Int32 -> f Int32) -> IntValue -> f IntValue

ModifyField "actorId" ExplosionValue ExplosionValue (Maybe Int32) (Maybe Int32) 
HasField "actorId" ExplosionValue (Maybe Int32) 

Methods

getField :: Proxy# Symbol "actorId" -> ExplosionValue -> Maybe Int32

ModifyRec "actorId" Int32 cs0 => HasField "actorId" (Rec cs0 WeldedInfoValue) Int32 

Methods

getField :: Proxy# Symbol "actorId" -> Rec cs0 WeldedInfoValue -> Int32

ModifyRec "content" Int32 cs0 => HasField "content" (Rec cs0 IntProperty) Int32 

Methods

getField :: Proxy# Symbol "content" -> Rec cs0 IntProperty -> Int32

ModifyRec "int" Int32 cs0 => HasField "int" (Rec cs0 FlaggedIntValue) Int32 

Methods

getField :: Proxy# Symbol "int" -> Rec cs0 FlaggedIntValue -> Int32

ModifyRec "unpack" Int32 cs0 => HasField "unpack" (Rec cs0 Int32) Int32 Source # 

Methods

getField :: Proxy# Symbol "unpack" -> Rec cs0 Int32 -> Int32

ModifyRec "unpack" Int32 cs0 => HasField "unpack" (Rec cs0 IntValue) Int32 

Methods

getField :: Proxy# Symbol "unpack" -> Rec cs0 IntValue -> Int32

ModifyRec "actorId" (Maybe Int32) cs0 => HasField "actorId" (Rec cs0 ExplosionValue) (Maybe Int32) 

Methods

getField :: Proxy# Symbol "actorId" -> Rec cs0 ExplosionValue -> Maybe Int32

ModifyRec "actorId" Int32 cs0 => ModifyField "actorId" (Rec cs0 WeldedInfoValue) (Rec cs0 WeldedInfoValue) Int32 Int32 

Methods

modifyField :: Proxy# Symbol "actorId" -> (Int32 -> Int32) -> Rec cs0 WeldedInfoValue -> Rec cs0 WeldedInfoValue

setField :: Proxy# Symbol "actorId" -> Rec cs0 WeldedInfoValue -> Int32 -> Rec cs0 WeldedInfoValue

fieldLens :: Functor f => Proxy# Symbol "actorId" -> (Int32 -> f Int32) -> Rec cs0 WeldedInfoValue -> f (Rec cs0 WeldedInfoValue)

ModifyRec "content" Int32 cs0 => ModifyField "content" (Rec cs0 IntProperty) (Rec cs0 IntProperty) Int32 Int32 

Methods

modifyField :: Proxy# Symbol "content" -> (Int32 -> Int32) -> Rec cs0 IntProperty -> Rec cs0 IntProperty

setField :: Proxy# Symbol "content" -> Rec cs0 IntProperty -> Int32 -> Rec cs0 IntProperty

fieldLens :: Functor f => Proxy# Symbol "content" -> (Int32 -> f Int32) -> Rec cs0 IntProperty -> f (Rec cs0 IntProperty)

ModifyRec "int" Int32 cs0 => ModifyField "int" (Rec cs0 FlaggedIntValue) (Rec cs0 FlaggedIntValue) Int32 Int32 

Methods

modifyField :: Proxy# Symbol "int" -> (Int32 -> Int32) -> Rec cs0 FlaggedIntValue -> Rec cs0 FlaggedIntValue

setField :: Proxy# Symbol "int" -> Rec cs0 FlaggedIntValue -> Int32 -> Rec cs0 FlaggedIntValue

fieldLens :: Functor f => Proxy# Symbol "int" -> (Int32 -> f Int32) -> Rec cs0 FlaggedIntValue -> f (Rec cs0 FlaggedIntValue)

ModifyRec "unpack" Int32 cs0 => ModifyField "unpack" (Rec cs0 Int32) (Rec cs0 Int32) Int32 Int32 Source # 

Methods

modifyField :: Proxy# Symbol "unpack" -> (Int32 -> Int32) -> Rec cs0 Int32 -> Rec cs0 Int32

setField :: Proxy# Symbol "unpack" -> Rec cs0 Int32 -> Int32 -> Rec cs0 Int32

fieldLens :: Functor f => Proxy# Symbol "unpack" -> (Int32 -> f Int32) -> Rec cs0 Int32 -> f (Rec cs0 Int32)

ModifyRec "unpack" Int32 cs0 => ModifyField "unpack" (Rec cs0 IntValue) (Rec cs0 IntValue) Int32 Int32 

Methods

modifyField :: Proxy# Symbol "unpack" -> (Int32 -> Int32) -> Rec cs0 IntValue -> Rec cs0 IntValue

setField :: Proxy# Symbol "unpack" -> Rec cs0 IntValue -> Int32 -> Rec cs0 IntValue

fieldLens :: Functor f => Proxy# Symbol "unpack" -> (Int32 -> f Int32) -> Rec cs0 IntValue -> f (Rec cs0 IntValue)

ModifyRec "actorId" (Maybe Int32) cs0 => ModifyField "actorId" (Rec cs0 ExplosionValue) (Rec cs0 ExplosionValue) (Maybe Int32) (Maybe Int32) 

Methods

modifyField :: Proxy# Symbol "actorId" -> (Maybe Int32 -> Maybe Int32) -> Rec cs0 ExplosionValue -> Rec cs0 ExplosionValue

setField :: Proxy# Symbol "actorId" -> Rec cs0 ExplosionValue -> Maybe Int32 -> Rec cs0 ExplosionValue

fieldLens :: Functor f => Proxy# Symbol "actorId" -> (Maybe Int32 -> f (Maybe Int32)) -> Rec cs0 ExplosionValue -> f (Rec cs0 ExplosionValue)

type Rep Int32 Source # 
type Rep Int32 = D1 (MetaData "Int32" "Octane.Type.Int32" "octane-0.16.1-GutvkXgevkCABZiWZysr0h" True) (C1 (MetaCons "Int32" PrefixI True) (S1 (MetaSel (Just Symbol "int32Unpack") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int32)))
type FieldType "unpack" Int32 Source # 
type FieldType "unpack" Int32 = Int32
type UpdateType "actorId" WeldedInfoValue Int32 
type UpdateType "actorId" WeldedInfoValue Int32 = WeldedInfoValue
type UpdateType "content" IntProperty Int32 
type UpdateType "content" IntProperty Int32 = IntProperty
type UpdateType "int" FlaggedIntValue Int32 
type UpdateType "int" FlaggedIntValue Int32 = FlaggedIntValue
type UpdateType "unpack" Int32 Int32 Source # 
type UpdateType "unpack" Int32 Int32 = Int32
type UpdateType "unpack" IntValue Int32 
type UpdateType "unpack" IntValue Int32 = IntValue
type UpdateType "actorId" ExplosionValue (Maybe Int32) 
type UpdateType "actorId" ExplosionValue (Maybe Int32) = ExplosionValue

fromInt32 :: Integral a => Int32 -> a Source #

Converts a Int32 into any Integral value.

toInt32 :: Integral a => a -> Int32 Source #

Converts any Integral value into a Int32.