Adds Pokemon class registry for WASM
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2022-05-28 12:35:31 +02:00
parent bc975aba53
commit 66fb9f5bd6
9 changed files with 318 additions and 20 deletions

View File

@@ -70,7 +70,7 @@ static const ArbUt::StringView& GetActiveAbilityWrapper(PkmnLib::Battling::Pokem
return p->GetActiveTalent()->GetName();
}
static size_t GetTypesLengthWrapper(PkmnLib::Battling::Pokemon* p) { return p->GetTypes().size(); }
static size_t GetTypesLengthWrapper(PkmnLib::Battling::Pokemon* p) { return p->GetTypes().Count(); }
static uint8_t GetTypeWrapper(PkmnLib::Battling::Pokemon* p, size_t index) { return p->GetTypes()[index]; }
#if defined(__clang__)