Add C Interface function to get all evolutions.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
593aadbda5
commit
66aea09e80
|
@ -19,3 +19,7 @@ export size_t PkmnLib_PokemonSpecies_GetEvolutionCount(const PokemonSpecies* p)
|
|||
export uint8_t PkmnLib_PokemonSpecies_GetEvolution(const PokemonSpecies* p, size_t index, const EvolutionData*& out) {
|
||||
Try(out = p->GetEvolutions().At(index).GetRaw());
|
||||
}
|
||||
|
||||
export uint8_t PkmnLib_PokemonSpecies_GetEvolutions(const PokemonSpecies* p, const EvolutionData* const*& out) {
|
||||
Try(out = p->GetEvolutions().RawData());
|
||||
}
|
Loading…
Reference in New Issue