module Rattletrap.Decode.LocationAttribute ( decodeLocationAttributeBits ) where import Rattletrap.Decode.Common import Rattletrap.Decode.Vector import Rattletrap.Type.LocationAttribute decodeLocationAttributeBits :: (Int, Int, Int) -> DecodeBits LocationAttribute decodeLocationAttributeBits :: (Int, Int, Int) -> DecodeBits LocationAttribute decodeLocationAttributeBits (Int, Int, Int) version = Vector -> LocationAttribute LocationAttribute (Vector -> LocationAttribute) -> BitGet Vector -> DecodeBits LocationAttribute forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b <$> (Int, Int, Int) -> BitGet Vector decodeVectorBits (Int, Int, Int) version