From 7e84b6cf0449b7868406e25e7602861d25ddaf10 Mon Sep 17 00:00:00 2001 From: Deukhoofd <Deukhoofd@gmail.com> Date: Sat, 8 Aug 2020 12:40:33 +0200 Subject: [PATCH] Fixed C Interface naming. --- CInterface/Battling/Pokemon.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CInterface/Battling/Pokemon.cpp b/CInterface/Battling/Pokemon.cpp index ec4d1d2..c1be863 100644 --- a/CInterface/Battling/Pokemon.cpp +++ b/CInterface/Battling/Pokemon.cpp @@ -32,6 +32,6 @@ export uint8_t PkmnLib_Pokemon_GetEffortValue(const Pokemon* p, CreatureLib::Lib return p->GetEffortValue(stat); } -export uint8_t PkmnLib_Battle_SetStatus(Pokemon* p, const char* name) { Try(p->SetStatus(ArbUt::StringView(name))); }; -export uint8_t PkmnLib_Battle_ClearStatus(Pokemon* p) { Try(p->ClearStatus()); }; -export const char* PkmnLib_Battle_GetStatusName(Pokemon* p) { return p->GetStatusName().c_str(); } \ No newline at end of file +export uint8_t PkmnLib_Pokemon_SetStatus(Pokemon* p, const char* name) { Try(p->SetStatus(ArbUt::StringView(name))); }; +export uint8_t PkmnLib_Pokemon_ClearStatus(Pokemon* p) { Try(p->ClearStatus()); }; +export const char* PkmnLib_Pokemon_GetStatusName(Pokemon* p) { return p->GetStatusName().c_str(); } \ No newline at end of file