MCPcopy Create free account
hub / github.com/Tencent/UnLua / ExportClass

Function ExportClass

Plugins/UnLua/Source/UnLua/Private/Binding.cpp:34–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32 }
33
34 void ExportClass(IExportedClass* Class)
35 {
36 if (Class->IsReflected())
37 GetExported()->ReflectedClasses.Add(Class->GetName(), Class);
38 else
39 GetExported()->NonReflectedClasses.Add(Class->GetName(), Class);
40 }
41
42 void ExportEnum(IExportedEnum* Enum)
43 {

Callers

nothing calls this directly

Calls 4

GetExportedFunction · 0.85
IsReflectedMethod · 0.80
AddMethod · 0.45
GetNameMethod · 0.45

Tested by

no test coverage detected