Fix scripting bindings in searching virtual methods to invoke when there is a name and parameter count collision
#3649
This commit is contained in:
@@ -1357,6 +1357,11 @@ MMethod* MClass::GetMethod(const char* name, int32 numParams) const
|
||||
return method;
|
||||
}
|
||||
|
||||
MMethod* MClass::GetMethod(const ScriptingTypeMethodSignature& signature) const
|
||||
{
|
||||
return GetMethod(signature.Name.Get(), signature.Params.Count());
|
||||
}
|
||||
|
||||
const Array<MMethod*>& MClass::GetMethods() const
|
||||
{
|
||||
if (_hasCachedMethods)
|
||||
|
||||
Reference in New Issue
Block a user