// Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "CoreMinimal.h" #include "JournalPage.generated.h" USTRUCT(BlueprintType) struct FJournalEntry { GENERATED_BODY() UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Journal") FString entry_name; FString entry_description; }; /** * */ UCLASS() class SURREALISM_API UJournalPage : public UObject { GENERATED_BODY() public: UJournalPage(); UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Journal") TArray page_entries; UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Journal") int32 max_page_entries; void add_entry(FString entry_name, FString entry_description); void remove_entry(FString entry_name); TArray get_all_entries_names(); TArray get_all_entries_descriptions(); int32 get_number_of_entries(); FString get_entry_description(FString entry_name); };