PkmnLib/CInterface/Battling/EventHooks.cpp

8 lines
335 B
C++

#include "../../src/Battling/EventHooks/WeatherChangeEvent.hpp"
#include "../Core.hpp"
using namespace PkmnLib::Battling;
export void PkmnLib_WeatherChangeEvent_Destruct(WeatherChangeEvent* p) { delete p; }
export const char* PkmnLib_WeatherChangeEvent_GetWeatherName(WeatherChangeEvent* p) {
return p->GetWeatherName().c_str();
}