Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/Tencent/UnLua
Browse files Browse the repository at this point in the history
  • Loading branch information
xuyanghuang-tencent committed May 29, 2023
2 parents cd9d3b6 + bb62135 commit e9751d0
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,15 @@ namespace UnLua
// declaration
Ret += FString::Printf(TEXT("local %s = {}\r\n"), *EscapeSymbolName(TypeName));

// exported functions
const auto Exported = GetExportedReflectedClasses().Find(TypeName);
if (Exported)
{
TArray<IExportedFunction*> ExportedFunctions;
(*Exported)->GetFunctions(ExportedFunctions);
for (const auto Function : ExportedFunctions)
Function->GenerateIntelliSense(Ret);
}
return Ret;
}

Expand Down

0 comments on commit e9751d0

Please sign in to comment.