Readds missing function.
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
8005ad1232
commit
9fd88f6192
|
@ -22,6 +22,7 @@ void RegisterParty::RegisterPartyClass(asIScriptEngine* engine) {
|
|||
REGISTER_EXPLICIT_GETTER("Party", "const narray<Pokemon@>@ get_Pokemon() const property",
|
||||
CreatureLib::Battling::CreatureParty, GetParty,
|
||||
const ArbUt::OptionalUniquePtrList<CreatureLib::Battling::Creature>&);
|
||||
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);
|
||||
|
|
|
@ -38,4 +38,6 @@ void RegisterEffectParameter::Register(asIScriptEngine* engine) {
|
|||
asFUNCTIONPR(AsString, (const CreatureLib::Library::EffectParameter*), const ArbUt::StringView&),
|
||||
asCALL_CDECL_OBJFIRST);
|
||||
Ensure(r >= 0);
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue