C interface for SpeciesVariant.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
0c1580ade6
commit
60cbc80549
|
@ -43,5 +43,9 @@ export uint32_t CreatureLib_SpeciesVariant_GetStatistic(SpeciesVariant* p, Creat
|
|||
}
|
||||
SIMPLE_GET_FUNC(SpeciesVariant, GetTalentCount, size_t);
|
||||
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*);
|
||||
|
||||
#undef SIMPLE_GET_FUNC
|
||||
|
|
Loading…
Reference in New Issue