Mark LearnableAttacks on SpeciesVariant as unique.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-03-27 20:46:44 +01:00
parent 214ff81992
commit aee5bcb088
3 changed files with 9 additions and 7 deletions

View File

@@ -46,6 +46,8 @@ SIMPLE_GET_FUNC(SpeciesVariant, GetSecretTalentCount, size_t);
export uint8_t CreatureLib_SpeciesVariant_GetTalent(SpeciesVariant* p, bool secret, uint8_t index) {
return p->GetTalent(TalentIndex(secret, index));
}
SIMPLE_GET_FUNC(SpeciesVariant, GetLearnableAttacks, const LearnableAttacks*);
export const LearnableAttacks* CreatureLib_SpeciesVariant_GetLearnableAttacks(SpeciesVariant* p) {
return p->GetLearnableAttacks().get();
}
#undef SIMPLE_GET_FUNC