How to create only header file while exist inside include generate.h

hi, i’m korean… my English is a little immature. Please understand…

I got questions than read ‘Survival Sample Game: Section 2’ sample code.
( A new, community-hosted Unreal Engine Wiki - Announcements - Unreal Engine Forums,
https://github.com/tomlooman/EpicSurvivalGameSeries/tree/Section-2 )

How to Create Only Header file while exist inside include *.generate.h ?
(Like survival sample game code in STypes.h)

I look forward to a good answer.
Thank you…

I hope I understood your question correctly, but it sounds like you’re wondering how to create the .generated.h header files.

The .generated.h header files are generated automatically for you by Unreal Header Tool (UHT). They will be generated whenever you declare a USTRUCT() or UCLASS() type in your header files. The name of the generated header will be the name of your header file, plus “.generated” appended. For example, if your header is called MyHeader.h and declares one or more UCLASS or USTRUCT types, the file MyHeader.generated.h will be generated for you.

The contents of the .generated.h file depend on the details of your type declarations. They generally contain glue code for run-time reflection, serialization, default constructors and initialization code.

Thank you for answer!

Also, it seems like the .generated.h header are created/updated when you run GenerateProjectFiles.

Hello , well, where is .h file ?(Engine folder or games folder)I mean can i make generate file in Source/Runtime/Engine/Clases/ …?

i want to a file like vehiclewheel.h.But when i create a vehiclewheelX.h. ,VS get error and i can not generate file vehiclewheelX.generate.h.