2020-04-14 14:36:54 +00:00
|
|
|
#include "../../src/Library/LibrarySettings.hpp"
|
|
|
|
#include "../Core.hpp"
|
|
|
|
using namespace PkmnLib::Library;
|
|
|
|
|
2022-04-02 11:03:11 +00:00
|
|
|
export_func const LibrarySettings* PkmnLib_LibrarySettings_Construct(uint8_t maximalLevel, uint8_t maximalMoves,
|
2020-04-28 12:48:56 +00:00
|
|
|
uint16_t shinyRate) {
|
2020-04-14 14:36:54 +00:00
|
|
|
return new LibrarySettings(maximalLevel, maximalMoves, shinyRate);
|
|
|
|
}
|
|
|
|
|
2022-04-02 11:03:11 +00:00
|
|
|
export_func void PkmnLib_LibrarySettings_Destruct(const LibrarySettings* p) { delete p; }
|
2020-04-14 14:36:54 +00:00
|
|
|
|
2020-07-07 13:54:25 +00:00
|
|
|
SIMPLE_GET_FUNC(LibrarySettings, GetShinyRate, uint16_t);
|