You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: UE4SS/src/LuaType/LuaUObject.cpp
+26-11Lines changed: 26 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,7 @@
32
32
#include<Unreal/UInterface.hpp>
33
33
#include<Unreal/World.hpp>
34
34
#include<Unreal/Engine/UDataTable.hpp>
35
+
#include<UnrealCustom/CustomProperty.hpp>
35
36
36
37
#pragma warning(default : 4005)
37
38
#include<DynamicOutput/DynamicOutput.hpp>
@@ -538,10 +539,8 @@ namespace RC::LuaType
538
539
return;
539
540
}
540
541
541
-
for (Unreal::FProperty* field : Unreal::TFieldRange<Unreal::FProperty>(script_struct, Unreal::EFieldIterationFlags::IncludeSuper | Unreal::EFieldIterationFlags::IncludeDeprecated))
542
-
{
542
+
auto handle_property = [&](Unreal::FProperty* field, const std::string& field_name) {
for (Unreal::FProperty* field : Unreal::TFieldRange<Unreal::FProperty>(script_struct, Unreal::EFieldIterationFlags::IncludeSuper | Unreal::EFieldIterationFlags::IncludeDeprecated))
for (Unreal::FProperty* field : Unreal::TFieldRange<Unreal::FProperty>(script_struct, Unreal::EFieldIterationFlags::IncludeSuper | Unreal::EFieldIterationFlags::IncludeDeprecated))
for (Unreal::FProperty* field : Unreal::TFieldRange<Unreal::FProperty>(script_struct, Unreal::EFieldIterationFlags::IncludeSuper | Unreal::EFieldIterationFlags::IncludeDeprecated))
0 commit comments