KLingo Project Documentation 1.0.0
Unreal Engine 5.6 C++ Project Documentation
로딩중...
검색중...
일치하는것 없음
UHistoryItem.h
이 파일의 문서화 페이지로 가기
1// Copyright (c) 2025 Doppleddiggong. All rights reserved. Unauthorized copying, modification, or distribution of this file, via any medium is strictly prohibited. Proprietary and confidential.
2
5
6#pragma once
7
8#include "CoreMinimal.h"
9#include "Blueprint/UserWidget.h"
10#include "FChatHistoryItem.h"
11#include "UHistoryItem.generated.h"
12
15UCLASS()
16class ONEPIECE_API UHistoryItem : public UUserWidget
17{
18 GENERATED_BODY()
19
20public:
23 UFUNCTION(BlueprintCallable)
24 void InitItem(const FChatHistoryItem& Data);
25
26protected:
27 virtual void NativeConstruct() override;
28
29protected:
30 /* ----------------- Layout ----------------- */
31
33 UPROPERTY(meta = (BindWidget))
34 TObjectPtr<class UTextBlock> Txt_Question;
35
37 UPROPERTY(meta = (BindWidget))
38 TObjectPtr<class UTextBlock> Txt_Answer;
39
41 UPROPERTY(meta = (BindWidget))
42 TObjectPtr<class UTextBlock> Txt_Timestamp;
43
44private:
45 FChatHistoryItem HistoryData;
46};
Chat History 개별 아이템 위젯
채팅 히스토리 한 항목을 보관하는 구조체입니다.