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

Method IsValid

Plugins/UnLua/Source/UnLua/Private/ReflectionUtils/PropertyDesc.cpp:30–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28}
29
30bool FPropertyDesc::IsValid() const
31{
32#if WITH_EDITOR
33 // 蓝图重新编译后会导致PropertyPtr持续有效,但原来的Property无效了
34 if (PropertyPtr.Get() != Property)
35 return false;
36#endif
37 return PropertyPtr.IsValid();
38}
39
40/**
41 * Integer property descriptor

Callers 14

OnPostGarbageCollectMethod · 0.45
BindMethod · 0.45
UnbindMethod · 0.45
AddMethod · 0.45
RemoveMethod · 0.45
ClearMethod · 0.45
UnregisterMethod · 0.45
LoadMethod · 0.45
DestructMethod · 0.45
CallLuaMethod · 0.45
CallUEMethod · 0.45
FEnumDescMethod · 0.45

Calls 1

GetMethod · 0.45

Tested by

no test coverage detected