diff --git a/tests/Utils/InputRecordingUtils.h b/tests/Utils/InputRecordingUtils.h index 1b28928..755201c 100644 --- a/tests/Utils/InputRecordingUtils.h +++ b/tests/Utils/InputRecordingUtils.h @@ -5,56 +5,68 @@ #include "CoreMinimal.h" #include "InputRecordingUtils.generated.h" +/** + * @brief Struct representing axis data. + */ USTRUCT() struct FAxisData { GENERATED_BODY() UPROPERTY() - FName Name; + FName Name; /**< The name of the axis. */ UPROPERTY() - float Value; + float Value = 0.0f; /**< The value of the axis. */ }; +/** + * @brief Struct representing action data. + */ USTRUCT() struct FActionData { GENERATED_BODY() UPROPERTY() - FName Name; + FName Name; /**< The name of the action. */ UPROPERTY() - FKey Key; + FKey Key; /**< The key associated with the action. */ UPROPERTY() - bool State; + bool State = false; /**< The state of the action. */ }; +/** + * @brief Struct representing input bindings data. + */ USTRUCT() struct FBindingsData { GENERATED_BODY() UPROPERTY() - TArray AxisValues; + TArray AxisValues; /**< The array of axis values. */ UPROPERTY() - TArray ActionValues; + TArray ActionValues; /**< The array of action values. */ UPROPERTY() - float WorldTime{0.0f}; + float WorldTime = 0.0f; /**< The world time. */ }; +/** + * @brief Struct representing input data. + */ USTRUCT() struct FInputData { GENERATED_BODY() UPROPERTY() - TArray Bindings; + TArray Bindings; /**< The array of input bindings data. */ UPROPERTY() - FTransform InitialTransform; + FTransform InitialTransform; /**< The initial transform. */ };