NicklasWallgren / PokemonGoAPI-PHP

Pokemon Go API PHP library
BSD 2-Clause "Simplified" License
130 stars 51 forks source link

Functionality to get all possible moves of a Pokemon #121

Closed DrDelay closed 8 years ago

DrDelay commented 8 years ago

I think someone wanted but forgot to implement it, the class PokemonMove was just empty.

This implements it, so you can get all possible moves of a Pokemon like this:

\NicklasW\PkmGoApi\Api\Pokemon\Data\PokemonMetaRegistry::getByPokemonId(\POGOProtos\Enums\PokemonId::ABRA)->getQuickMoves()->getMovesStrings()
NicklasWallgren commented 8 years ago

You may be right, "someone" might have forgot to implement it ;) 👍