Large cleanup of type registration, added new "NativeArray" (or narray in angelscript) type that simply holds a pointer to a native list, to prevent copies we don't need
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
@@ -147,8 +147,8 @@ TEST_CASE("Able to set and get evolution") {
|
||||
auto evo = evolutions[0];
|
||||
CHECK(evo->GetMethod() == PkmnLib::Library::EvolutionMethod::Level);
|
||||
CHECK(evo->GetNewSpecies() == species2);
|
||||
INFO(CreatureLib::Library::EffectParameterTypeHelper::ToString(evo->GetData(0)->GetType()));
|
||||
CHECK(evo->GetData(0)->AsInt() == 16);
|
||||
INFO(CreatureLib::Library::EffectParameterTypeHelper::ToString(evo->GetDataAt(0)->GetType()));
|
||||
CHECK(evo->GetDataAt(0)->AsInt() == 16);
|
||||
|
||||
delete species;
|
||||
delete species2;
|
||||
|
||||
Reference in New Issue
Block a user