pokemon-go-protobuf-types-0.1.2: Haskell types for the Pokemon Go protobuf protocol.

Safe HaskellNone
LanguageHaskell2010

Proto.POGOProtos.Networking.Requests.Messages.CatchPokemonMessage

Documentation

data CatchPokemonMessage Source #

Instances

Eq CatchPokemonMessage Source # 
Show CatchPokemonMessage Source # 
Default CatchPokemonMessage Source # 
Message CatchPokemonMessage Source # 
HasField "encounterId" CatchPokemonMessage CatchPokemonMessage Source # 
HasField "hitPokemon" CatchPokemonMessage CatchPokemonMessage Source # 
HasField "normalizedHitPosition" CatchPokemonMessage CatchPokemonMessage Source # 

Methods

field :: ProxySym "normalizedHitPosition" -> Lens CatchPokemonMessage CatchPokemonMessage (Field "normalizedHitPosition" CatchPokemonMessage) (Field "normalizedHitPosition" CatchPokemonMessage) #

HasField "normalizedReticleSize" CatchPokemonMessage CatchPokemonMessage Source # 

Methods

field :: ProxySym "normalizedReticleSize" -> Lens CatchPokemonMessage CatchPokemonMessage (Field "normalizedReticleSize" CatchPokemonMessage) (Field "normalizedReticleSize" CatchPokemonMessage) #

HasField "pokeball" CatchPokemonMessage CatchPokemonMessage Source # 
HasField "spawnPointId" CatchPokemonMessage CatchPokemonMessage Source # 

Methods

field :: ProxySym "spawnPointId" -> Lens CatchPokemonMessage CatchPokemonMessage (Field "spawnPointId" CatchPokemonMessage) (Field "spawnPointId" CatchPokemonMessage) #

HasField "spinModifier" CatchPokemonMessage CatchPokemonMessage Source # 

Methods

field :: ProxySym "spinModifier" -> Lens CatchPokemonMessage CatchPokemonMessage (Field "spinModifier" CatchPokemonMessage) (Field "spinModifier" CatchPokemonMessage) #

type Field "encounterId" CatchPokemonMessage Source # 
type Field "encounterId" CatchPokemonMessage = Word64
type Field "hitPokemon" CatchPokemonMessage Source # 
type Field "hitPokemon" CatchPokemonMessage = Bool
type Field "normalizedHitPosition" CatchPokemonMessage Source # 
type Field "normalizedHitPosition" CatchPokemonMessage = Double
type Field "normalizedReticleSize" CatchPokemonMessage Source # 
type Field "normalizedReticleSize" CatchPokemonMessage = Double
type Field "pokeball" CatchPokemonMessage Source # 
type Field "pokeball" CatchPokemonMessage = ItemId
type Field "spawnPointId" CatchPokemonMessage Source # 
type Field "spawnPointId" CatchPokemonMessage = Text
type Field "spinModifier" CatchPokemonMessage Source # 
type Field "spinModifier" CatchPokemonMessage = Double

encounterId :: forall msg msg'. HasField "encounterId" msg msg' => Lens msg msg' (Field "encounterId" msg) (Field "encounterId" msg') Source #

hitPokemon :: forall msg msg'. HasField "hitPokemon" msg msg' => Lens msg msg' (Field "hitPokemon" msg) (Field "hitPokemon" msg') Source #

normalizedHitPosition :: forall msg msg'. HasField "normalizedHitPosition" msg msg' => Lens msg msg' (Field "normalizedHitPosition" msg) (Field "normalizedHitPosition" msg') Source #

normalizedReticleSize :: forall msg msg'. HasField "normalizedReticleSize" msg msg' => Lens msg msg' (Field "normalizedReticleSize" msg) (Field "normalizedReticleSize" msg') Source #

pokeball :: forall msg msg'. HasField "pokeball" msg msg' => Lens msg msg' (Field "pokeball" msg) (Field "pokeball" msg') Source #

spawnPointId :: forall msg msg'. HasField "spawnPointId" msg msg' => Lens msg msg' (Field "spawnPointId" msg) (Field "spawnPointId" msg') Source #

spinModifier :: forall msg msg'. HasField "spinModifier" msg msg' => Lens msg msg' (Field "spinModifier" msg) (Field "spinModifier" msg') Source #