rattletrap-9.3.2: src/lib/Rattletrap/Decode/AppliedDamageAttribute.hs
module Rattletrap.Decode.AppliedDamageAttribute
( decodeAppliedDamageAttributeBits
)
where
import Rattletrap.Decode.Common
import Rattletrap.Decode.Int32le
import Rattletrap.Decode.Vector
import Rattletrap.Decode.Word8le
import Rattletrap.Type.AppliedDamageAttribute
decodeAppliedDamageAttributeBits
:: (Int, Int, Int) -> DecodeBits AppliedDamageAttribute
decodeAppliedDamageAttributeBits version =
AppliedDamageAttribute
<$> decodeWord8leBits
<*> decodeVectorBits version
<*> decodeInt32leBits
<*> decodeInt32leBits