Skip to content

Commit

Permalink
changed type naming to avoid stupid autocomplete using
Browse files Browse the repository at this point in the history
Somthing.classes instead of Somthing
  • Loading branch information
derFreemaker committed Jun 15, 2024
1 parent 29d8573 commit 3194fdb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/FicsItNetworks/Private/Utils/FINGenLuaDocSumneko.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ FString FINGenLuaSumnekoClass(FFINReflection &Ref, const UFINClass *Class) {
);

FString ClassGlobalClassesDocumentation = FString::Printf(
TEXT("---@class %s.classes : %s\nclasses.%s = nil\n"),
TEXT("---@class FIN.classes.%s : %s\nclasses.%s = nil\n"),
*ClassTypeName,
*ClassTypeName,
*Class->GetInternalName()
Expand Down Expand Up @@ -437,7 +437,7 @@ FString FINGenLuaSumnekoStruct(FFINReflection &Ref, const UFINStruct *Struct) {
*OperatorDocumentation
);

FString StructGlobalStructsDocumentation = FString::Printf(TEXT("---@class %s.structs : %s\n"), *StructTypeName, *StructTypeName);
FString StructGlobalStructsDocumentation = FString::Printf(TEXT("---@class FIN.structs.%s : %s\n"), *StructTypeName, *StructTypeName);
if (Struct->GetStructFlags() & FIN_Struct_Constructable) {
FString ConstructorCallSignature = TEXT("{");
for (int i = 0; i < PropertyTypes.Num(); ++i) {
Expand Down

0 comments on commit 3194fdb

Please sign in to comment.