Update to newer CreatureLib.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -10,8 +10,6 @@ export uint8_t PkmnLib_Battle_Construct(Battle*& out, const BattleLibrary* libra
|
||||
}
|
||||
|
||||
export void PkmnLib_Battle_Destruct(Battle* p) { delete p; }
|
||||
export uint8_t PkmnLib_Battle_SetWeather(Battle* p, const char* name) {
|
||||
Try(p->SetWeather(ArbUt::CaseInsensitiveConstString(name)));
|
||||
};
|
||||
export uint8_t PkmnLib_Battle_SetWeather(Battle* p, const char* name) { Try(p->SetWeather(ArbUt::StringView(name))); };
|
||||
export uint8_t PkmnLib_Battle_ClearWeather(Battle* p) { Try(p->ClearWeather()); };
|
||||
export const char* PkmnLib_Battle_GetWeatherName(Battle* p) { return p->GetWeatherName().c_str(); }
|
||||
Reference in New Issue
Block a user