diff --git a/.clang-format b/.clang-format index 7475ac3..34cad14 100644 --- a/.clang-format +++ b/.clang-format @@ -18,7 +18,7 @@ BreakBeforeBinaryOperators: NonAssignment BreakConstructorInitializers: BeforeComma InsertNewlineAtEOF: true KeepEmptyLinesAtEOF: true -KeepEmptyLinesAtTheStartOfBlocks: false +KeepEmptyLinesAtTheStartOfBlocks: true PackConstructorInitializers: Never PointerAlignment: Middle QualifierAlignment: Right diff --git a/Source/MyProject/Public/MagicFloatInput.h b/Source/MyProject/Public/MagicFloatInput.h index d22e05f..c65fe96 100644 --- a/Source/MyProject/Public/MagicFloatInput.h +++ b/Source/MyProject/Public/MagicFloatInput.h @@ -11,6 +11,7 @@ */ UCLASS() class MYPROJECT_API UMagicFloatInput : public UEditableTextBox { + GENERATED_BODY() void HandleOnTextCommitted( diff --git a/Source/MyProject/Public/ModeInputTextBox.h b/Source/MyProject/Public/ModeInputTextBox.h index 2a05e22..91cf02b 100644 --- a/Source/MyProject/Public/ModeInputTextBox.h +++ b/Source/MyProject/Public/ModeInputTextBox.h @@ -11,6 +11,7 @@ */ UCLASS() class MYPROJECT_API UModeInputTextBox : public UEditableTextBox { + GENERATED_BODY() void HandleOnTextChanged(FText const & inText) override; diff --git a/Source/MyProject/Public/MyPlayerState.h b/Source/MyProject/Public/MyPlayerState.h index 750e515..562bfa7 100644 --- a/Source/MyProject/Public/MyPlayerState.h +++ b/Source/MyProject/Public/MyPlayerState.h @@ -7,11 +7,10 @@ #include "MyPlayerState.generated.h" /** - * + * */ UCLASS() -class MYPROJECT_API AMyPlayerState : public APlayerState -{ - GENERATED_BODY() - +class MYPROJECT_API AMyPlayerState : public APlayerState { + + GENERATED_BODY() }; diff --git a/Source/MyProject/Public/MyUserWidget.h b/Source/MyProject/Public/MyUserWidget.h index 1f49da0..21431e9 100644 --- a/Source/MyProject/Public/MyUserWidget.h +++ b/Source/MyProject/Public/MyUserWidget.h @@ -4,14 +4,15 @@ #include "Blueprint/UserWidget.h" #include "CoreMinimal.h" -#include "MyUserWidget.generated.h" #include +#include "MyUserWidget.generated.h" /** * */ UCLASS() class MYPROJECT_API UMyUserWidget : public UUserWidget { + GENERATED_BODY() UPROPERTY(meta = (BindWidget))