octane-0.13.2: Parse Rocket League replays.

Safe HaskellNone
LanguageHaskell2010

Octane.Type.CacheItem

Synopsis

Documentation

data CacheItem Source #

An item in the class net cache map.

Instances

Eq CacheItem Source # 
Show CacheItem Source # 
Generic CacheItem Source # 

Associated Types

type Rep CacheItem :: * -> * #

Binary CacheItem Source #

Fields are stored one after the other in order.

>>> Binary.decode "\x01\x00\x00\x00\x02\x00\x00\x00\x03\x00\x00\x00\x00\x00\x00\x00" :: CacheItem
CacheItem {classId = 0x00000001, parentCacheId = 0x00000002, cacheId = 0x00000003, properties = fromList []}
>>> Binary.encode (CacheItem 1 2 3 [])
"\SOH\NUL\NUL\NUL\STX\NUL\NUL\NUL\ETX\NUL\NUL\NUL\NUL\NUL\NUL\NUL"
NFData CacheItem Source # 

Methods

rnf :: CacheItem -> () #

type Rep CacheItem Source #