2020-08-11 17:36:18 +00:00
|
|
|
#include "../../src/Library/Species/LearnableMoves.hpp"
|
|
|
|
#include "../Core.hpp"
|
|
|
|
using namespace PkmnLib::Library;
|
|
|
|
|
2022-04-02 11:03:11 +00:00
|
|
|
export_func uint8_t PkmnLib_LearnableMoves_Construct(LearnableMoves*& out, size_t levelAttackCapacity) {
|
2020-08-11 17:36:18 +00:00
|
|
|
Try(out = new LearnableMoves(levelAttackCapacity));
|
|
|
|
}
|
|
|
|
DESTRUCTOR(LearnableMoves)
|
|
|
|
|
2022-04-02 11:03:11 +00:00
|
|
|
export_func void PkmnLib_LearnableMoves_AddEggMove(LearnableMoves* p, MoveData* move) { p->AddEggMove(move); }
|
|
|
|
export_func size_t PkmnLib_LearnableMoves_GetEggMovesCount(LearnableMoves* p) { return p->GetEggMoves().Count(); }
|
|
|
|
export_func const MoveData* const* PkmnLib_LearnableMoves_GetEggMoves(LearnableMoves* p) {
|
2020-08-11 17:36:18 +00:00
|
|
|
return reinterpret_cast<const MoveData* const*>(p->GetEggMoves().RawData());
|
|
|
|
}
|