Download

How to properly create header file

I’m making similar game like Action RPG by Epic. I wanted to use Gameplay Ability System. I created every class except header file “RPGTypes.h”. I don’t know how they created it. There’s no C++ file of it. When I attempted to create it in VS by Add New Item it just doesn’t generate RPGTypes.generate.h file although I tried to Regenerate vs project like many others on the web suggested. How to create this header file?

I don’t know how that project is structured, but creating header files for storing all the structs/enums of a system is a common thing people do. If you want to create one, you can select the “None” template when creating a new C++ class through the editor, or you can just add them through visual studio.