Add Creature getter for the library.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-07-25 15:02:11 +02:00
parent 8f921ce89b
commit e6f84f182a
2 changed files with 2 additions and 0 deletions

View File

@@ -18,6 +18,7 @@ export uint8_t CreatureLib_Creature_Construct(Creature*& out, const BattleLibrar
export void CreatureLib_Creature_Destruct(const Creature* p) { delete p; }
BORROWED_GET_FUNC(Creature, GetLibrary, const CreatureLib::Battling::BattleLibrary*);
BORROWED_GET_FUNC(Creature, GetSpecies, const CreatureLib::Library::CreatureSpecies*);
BORROWED_GET_FUNC(Creature, GetVariant, const CreatureLib::Library::SpeciesVariant*);