diff --git a/src/ScriptResolving/AngelScript/TypeRegistry/Battling/RegisterParty.cpp b/src/ScriptResolving/AngelScript/TypeRegistry/Battling/RegisterParty.cpp index 6847b3b..6972636 100644 --- a/src/ScriptResolving/AngelScript/TypeRegistry/Battling/RegisterParty.cpp +++ b/src/ScriptResolving/AngelScript/TypeRegistry/Battling/RegisterParty.cpp @@ -22,6 +22,7 @@ void RegisterParty::RegisterPartyClass(asIScriptEngine* engine) { REGISTER_EXPLICIT_GETTER("Party", "const narray@ get_Pokemon() const property", CreatureLib::Battling::CreatureParty, GetParty, const ArbUt::OptionalUniquePtrList&); + REGISTER_GETTER("Party", "uint64 get_Length() const property", CreatureLib::Battling::CreatureParty, GetLength); auto r = engine->RegisterObjectMethod("Party", "Pokemon@ GetAtIndex(int index) const", asFUNCTION(GetAtIndexWrapper), asCALL_CDECL_OBJFIRST); diff --git a/src/ScriptResolving/AngelScript/TypeRegistry/Library/RegisterEffectParameter.cpp b/src/ScriptResolving/AngelScript/TypeRegistry/Library/RegisterEffectParameter.cpp index a206f80..3a99b2d 100644 --- a/src/ScriptResolving/AngelScript/TypeRegistry/Library/RegisterEffectParameter.cpp +++ b/src/ScriptResolving/AngelScript/TypeRegistry/Library/RegisterEffectParameter.cpp @@ -38,4 +38,6 @@ void RegisterEffectParameter::Register(asIScriptEngine* engine) { asFUNCTIONPR(AsString, (const CreatureLib::Library::EffectParameter*), const ArbUt::StringView&), asCALL_CDECL_OBJFIRST); Ensure(r >= 0); + + }