Skip to content

Commit

Permalink
should fix the whitespace issue
Browse files Browse the repository at this point in the history
  • Loading branch information
derFreemaker committed Jun 2, 2024
1 parent 9498410 commit 1146b90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/FicsItNetworks/Private/Utils/FINGenLuaDoc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ void FINGenLuaClass(FString& Documentation, FFINReflection& Ref, UFINClass* Clas
FINGenLuaDescription(Documentation, Class->GetDescription().ToString());
Documentation.Append(FString::Printf(TEXT("---@class %s%s\n"), *Class->GetInternalName(), Class->GetParent() ? *(TEXT(":") + Class->GetParent()->GetInternalName()) : TEXT("")));
for (UFINProperty* Prop : Class->GetProperties(false)) {
if (Prop->GetPropertyFlags() & FIN_Prop_Attrib) FINGenLuaProperty(Documentation, Ref, Prop);
if (Prop->GetPropertyFlags() & FIN_Prop_Attrib) FINGenLuaProperty(Documentation, Ref, Prop);
}
Documentation.Append(FString::Printf(TEXT("local %s\n"), *Class->GetInternalName()));
for (UFINFunction* Func : Class->GetFunctions(false)) {
Expand All @@ -104,7 +104,7 @@ void FINGenLuaStruct(FString& Documentation, FFINReflection& Ref, UFINStruct* St
FINGenLuaDescription(Documentation, Struct->GetDescription().ToString());
Documentation.Append(FString::Printf(TEXT("---@class %s\n"), *Struct->GetInternalName()));
for (UFINProperty* Prop : Struct->GetProperties(false)) {
if (Prop->GetPropertyFlags() & FIN_Prop_Attrib) FINGenLuaProperty(Documentation, Ref, Prop);
if (Prop->GetPropertyFlags() & FIN_Prop_Attrib) FINGenLuaProperty(Documentation, Ref, Prop);
}
Documentation.Append(FString::Printf(TEXT("local %s\n"), *Struct->GetInternalName()));
for (UFINFunction* Func : Struct->GetFunctions(false)) {
Expand Down

0 comments on commit 1146b90

Please sign in to comment.