Adds Angelscript wrappers for Party.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2021-05-08 12:12:36 +02:00
parent 1c66aa8696
commit 6def68cf72
7 changed files with 87 additions and 11 deletions

View File

@@ -12,7 +12,7 @@ namespace PkmnLib::Battling {
: CreatureLib::Battling::CreatureParty(party) {}
PokemonParty(size_t size) : CreatureLib::Battling::CreatureParty(size) {}
ArbUt::OptionalBorrowedPtr<Pokemon> GetAtIndex(int index) const {
ArbUt::OptionalBorrowedPtr<Pokemon> GetAtIndex(size_t index) const {
return CreatureLib::Battling::CreatureParty::GetAtIndex(index).As<Pokemon>();
}