Fix wrong C Interface naming.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
2fa59b9ea9
commit
593aadbda5
|
@ -17,48 +17,50 @@ export const EvolutionData* PkmnLib_EvolutionData_CreateLocationEvolution(const
|
|||
const PokemonSpecies* into) {
|
||||
return EvolutionData::CreateLocationEvolution(ArbUt::StringView(location), into);
|
||||
}
|
||||
export const EvolutionData* PkmnLib_Evolution_CreateTimeEvolution(TimeOfDay time, const PokemonSpecies* into) {
|
||||
export const EvolutionData* PkmnLib_EvolutionData_CreateTimeEvolution(TimeOfDay time, const PokemonSpecies* into) {
|
||||
return EvolutionData::CreateTimeEvolution(time, into);
|
||||
}
|
||||
export const EvolutionData* PkmnLib_Evolution_CreateItemEvolution(const Item* item, const PokemonSpecies* into) {
|
||||
export const EvolutionData* PkmnLib_EvolutionData_CreateItemEvolution(const Item* item, const PokemonSpecies* into) {
|
||||
return EvolutionData::CreateHeldItemEvolution(item, into);
|
||||
}
|
||||
export const EvolutionData* PkmnLib_Evolution_CreateGenderBasedEvolution(CreatureLib::Library::Gender gender,
|
||||
uint8_t level, const PokemonSpecies* into) {
|
||||
export const EvolutionData* PkmnLib_EvolutionData_CreateGenderBasedEvolution(CreatureLib::Library::Gender gender,
|
||||
uint8_t level,
|
||||
const PokemonSpecies* into) {
|
||||
return EvolutionData::CreateGenderBasedEvolution(gender, level, into);
|
||||
}
|
||||
export const EvolutionData* PkmnLib_Evolution_CreateItemUseEvolution(const Item* item, const PokemonSpecies* into) {
|
||||
export const EvolutionData* PkmnLib_EvolutionData_CreateItemUseEvolution(const Item* item, const PokemonSpecies* into) {
|
||||
return EvolutionData::CreateItemUseEvolution(item, into);
|
||||
}
|
||||
|
||||
export const EvolutionData* PkmnLib_Evolution_CreateItemUseWithGenderEvolution(const Item* item,
|
||||
CreatureLib::Library::Gender gender,
|
||||
const PokemonSpecies* into) {
|
||||
export const EvolutionData* PkmnLib_EvolutionData_CreateItemUseWithGenderEvolution(const Item* item,
|
||||
CreatureLib::Library::Gender gender,
|
||||
const PokemonSpecies* into) {
|
||||
return EvolutionData::CreateItemUseWithGenderEvolution(item, gender, into);
|
||||
}
|
||||
export const EvolutionData* PkmnLib_Evolution_CreateTradeEvolution(const PokemonSpecies* into) {
|
||||
export const EvolutionData* PkmnLib_EvolutionData_CreateTradeEvolution(const PokemonSpecies* into) {
|
||||
return EvolutionData::CreateTradeEvolution(into);
|
||||
}
|
||||
export const EvolutionData* PkmnLib_Evolution_CreateTradeWithItemEvolution(const Item* item,
|
||||
const PokemonSpecies* into) {
|
||||
export const EvolutionData* PkmnLib_EvolutionData_CreateTradeWithItemEvolution(const Item* item,
|
||||
const PokemonSpecies* into) {
|
||||
return EvolutionData::CreateTradeWithItemEvolution(item, into);
|
||||
}
|
||||
export const EvolutionData* PkmnLib_Evolution_CreateTradeWithSpeciesEvolution(const PokemonSpecies* traded,
|
||||
const PokemonSpecies* into) {
|
||||
export const EvolutionData* PkmnLib_EvolutionData_CreateTradeWithSpeciesEvolution(const PokemonSpecies* traded,
|
||||
const PokemonSpecies* into) {
|
||||
return EvolutionData::CreateTradeWithSpeciesEvolution(traded, into);
|
||||
}
|
||||
export const EvolutionData* PkmnLib_Evolution_CreateCustomEvolution(const CreatureLib::Library::EffectParameter** data,
|
||||
size_t dataLength, const PokemonSpecies* into) {
|
||||
export const EvolutionData*
|
||||
PkmnLib_EvolutionData_CreateCustomEvolution(const CreatureLib::Library::EffectParameter** data, size_t dataLength,
|
||||
const PokemonSpecies* into) {
|
||||
auto list = std::vector<const CreatureLib::Library::EffectParameter*>(data, data + dataLength);
|
||||
return EvolutionData::CreateCustomEvolution(list, into);
|
||||
}
|
||||
|
||||
export EvolutionMethod PkmnLib_Evolution_GetMethod(const EvolutionData* data) { return data->GetMethod(); }
|
||||
export const PokemonSpecies* PkmnLib_Evolution_GetNewSpecies(const EvolutionData* data) {
|
||||
export EvolutionMethod PkmnLib_EvolutionData_GetMethod(const EvolutionData* data) { return data->GetMethod(); }
|
||||
export const PokemonSpecies* PkmnLib_EvolutionData_GetNewSpecies(const EvolutionData* data) {
|
||||
return data->GetNewSpecies().GetRaw();
|
||||
}
|
||||
export size_t PkmnLib_Evolution_GetDataCount(const EvolutionData* data) { return data->GetDataCount(); }
|
||||
export uint8_t PkmnLib_Evolution_GetData(const EvolutionData* data, size_t index,
|
||||
const CreatureLib::Library::EffectParameter*& out) {
|
||||
export size_t PkmnLib_EvolutionData_GetDataCount(const EvolutionData* data) { return data->GetDataCount(); }
|
||||
export uint8_t PkmnLib_EvolutionData_GetData(const EvolutionData* data, size_t index,
|
||||
const CreatureLib::Library::EffectParameter*& out) {
|
||||
Try(out = data->GetData(index).GetRaw());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue