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

Safe HaskellNone
LanguageHaskell2010

Proto.POGOProtos.Data.Battle.BattleResults

Documentation

data BattleResults #

Instances

Eq BattleResults # 
Show BattleResults # 
Message BattleResults # 

Methods

descriptor :: MessageDescriptor BattleResults

Default BattleResults # 

Methods

def :: BattleResults

HasField "attackers" BattleResults BattleResults # 

Methods

field :: ProxySym "attackers" -> Lens BattleResults BattleResults (Field "attackers" BattleResults) (Field "attackers" BattleResults)

HasField "gymPointsDelta" BattleResults BattleResults # 

Methods

field :: ProxySym "gymPointsDelta" -> Lens BattleResults BattleResults (Field "gymPointsDelta" BattleResults) (Field "gymPointsDelta" BattleResults)

HasField "gymState" BattleResults BattleResults # 

Methods

field :: ProxySym "gymState" -> Lens BattleResults BattleResults (Field "gymState" BattleResults) (Field "gymState" BattleResults)

HasField "maybe'gymState" BattleResults BattleResults # 

Methods

field :: ProxySym "maybe'gymState" -> Lens BattleResults BattleResults (Field "maybe'gymState" BattleResults) (Field "maybe'gymState" BattleResults)

HasField "nextDefenderPokemonId" BattleResults BattleResults # 

Methods

field :: ProxySym "nextDefenderPokemonId" -> Lens BattleResults BattleResults (Field "nextDefenderPokemonId" BattleResults) (Field "nextDefenderPokemonId" BattleResults)

HasField "playerExperienceAwarded" BattleResults BattleResults # 

Methods

field :: ProxySym "playerExperienceAwarded" -> Lens BattleResults BattleResults (Field "playerExperienceAwarded" BattleResults) (Field "playerExperienceAwarded" BattleResults)

type Field "attackers" BattleResults # 
type Field "attackers" BattleResults = [BattleParticipant]
type Field "gymPointsDelta" BattleResults # 
type Field "gymPointsDelta" BattleResults = Int32
type Field "gymState" BattleResults # 
type Field "gymState" BattleResults = GymState
type Field "maybe'gymState" BattleResults # 
type Field "maybe'gymState" BattleResults = Maybe GymState
type Field "nextDefenderPokemonId" BattleResults # 
type Field "nextDefenderPokemonId" BattleResults = Int64
type Field "playerExperienceAwarded" BattleResults # 
type Field "playerExperienceAwarded" BattleResults = [Int32]

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

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

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

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

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

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