Fixed C Interface naming.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
0ace5798f8
commit
7e84b6cf04
|
@ -32,6 +32,6 @@ export uint8_t PkmnLib_Pokemon_GetEffortValue(const Pokemon* p, CreatureLib::Lib
|
||||||
return p->GetEffortValue(stat);
|
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_Pokemon_SetStatus(Pokemon* p, const char* name) { Try(p->SetStatus(ArbUt::StringView(name))); };
|
||||||
export uint8_t PkmnLib_Battle_ClearStatus(Pokemon* p) { Try(p->ClearStatus()); };
|
export uint8_t PkmnLib_Pokemon_ClearStatus(Pokemon* p) { Try(p->ClearStatus()); };
|
||||||
export const char* PkmnLib_Battle_GetStatusName(Pokemon* p) { return p->GetStatusName().c_str(); }
|
export const char* PkmnLib_Pokemon_GetStatusName(Pokemon* p) { return p->GetStatusName().c_str(); }
|
Loading…
Reference in New Issue