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

Function GetTypeName

Plugins/UnLua/Source/UnLuaEditor/Private/UnLuaIntelliSense.cpp:291–301  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

289 }
290
291 FString GetTypeName(const UObject* Field)
292 {
293 if (!Field)
294 return "";
295 if (!Field->IsNative() && Field->GetName().EndsWith("_C"))
296 return Field->GetName();
297 const UStruct* Struct = Cast<UStruct>(Field);
298 if (Struct)
299 return Struct->GetPrefixCPP() + Struct->GetName();
300 return Field->GetName();
301 }
302
303 FString GetTypeName(const FProperty* Property)
304 {

Callers 4

GetFunction · 0.85
GetUEFunction · 0.85
ExportMethod · 0.85

Calls 3

IsNativeMethod · 0.80
GetEnumMethod · 0.80
GetNameMethod · 0.45

Tested by

no test coverage detected