8#include "CoreMinimal.h"
9#include "Components/ActorComponent.h"
11#include "UChatHistorySystem.generated.h"
16UCLASS(ClassGroup=(Custom), meta=(BlueprintSpawnableComponent))
17class ONEPIECE_API UChatHistorySystem :
public UActorComponent
25 UFUNCTION(BlueprintCallable, Category = "ChatHistory")
26 void SaveChatHistory(const FString& Question, const FString& Answer);
31 UFUNCTION(BlueprintCallable, Category = "ChatHistory")
35 UFUNCTION(BlueprintCallable, Category = "ChatHistory")
36 void ClearChatHistory();
39 UFUNCTION(BlueprintCallable, Category = "ChatHistory")
40 int32 GetHistoryCount() const;
44 int32 GetNextIndex() const;
채팅 히스토리 한 항목을 보관하는 구조체입니다.