cpp_class_create
Generate a UCLASS header/source pair for a game module, including GENERATED_BODY and constructor boilerplate. Compile with cpp_build and restart the editor to load the new class.
Instructions
Generate a UCLASS header/source pair in a game module (UE4.27 wizard-style boilerplate with GENERATED_BODY and constructor). Does not compile; run cpp_build afterwards. New classes require an editor restart to load.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Class name WITHOUT the A/U prefix, e.g. DoorActor. | |
| module | No | Game module name. Default: first module in the .uproject. | |
| subdir | No | Subdirectory under Public/Private (or module root). | |
| parent_class | No | Base class. | Actor |
| uclass_specifiers | No | UCLASS() specifiers, e.g. 'Blueprintable'. |