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

Safe HaskellNone
LanguageHaskell2010

Proto.POGOProtos.Data.Battle.BattlePokemonInfo

Documentation

data BattlePokemonInfo #

Instances

Eq BattlePokemonInfo # 
Show BattlePokemonInfo # 
Message BattlePokemonInfo # 

Methods

descriptor :: MessageDescriptor BattlePokemonInfo

Default BattlePokemonInfo # 
HasField "currentEnergy" BattlePokemonInfo BattlePokemonInfo # 

Methods

field :: ProxySym "currentEnergy" -> Lens BattlePokemonInfo BattlePokemonInfo (Field "currentEnergy" BattlePokemonInfo) (Field "currentEnergy" BattlePokemonInfo)

HasField "currentHealth" BattlePokemonInfo BattlePokemonInfo # 

Methods

field :: ProxySym "currentHealth" -> Lens BattlePokemonInfo BattlePokemonInfo (Field "currentHealth" BattlePokemonInfo) (Field "currentHealth" BattlePokemonInfo)

HasField "maybe'pokemonData" BattlePokemonInfo BattlePokemonInfo # 

Methods

field :: ProxySym "maybe'pokemonData" -> Lens BattlePokemonInfo BattlePokemonInfo (Field "maybe'pokemonData" BattlePokemonInfo) (Field "maybe'pokemonData" BattlePokemonInfo)

HasField "pokemonData" BattlePokemonInfo BattlePokemonInfo # 

Methods

field :: ProxySym "pokemonData" -> Lens BattlePokemonInfo BattlePokemonInfo (Field "pokemonData" BattlePokemonInfo) (Field "pokemonData" BattlePokemonInfo)

type Field "currentEnergy" BattlePokemonInfo # 
type Field "currentEnergy" BattlePokemonInfo = Int32
type Field "currentHealth" BattlePokemonInfo # 
type Field "currentHealth" BattlePokemonInfo = Int32
type Field "maybe'pokemonData" BattlePokemonInfo # 
type Field "maybe'pokemonData" BattlePokemonInfo = Maybe PokemonData
type Field "pokemonData" BattlePokemonInfo # 
type Field "pokemonData" BattlePokemonInfo = PokemonData

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

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

maybe'pokemonData :: forall msg msg'. HasField "maybe'pokemonData" msg msg' => Lens msg msg' (Field "maybe'pokemonData" msg) (Field "maybe'pokemonData" msg') #

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