KLingo Project Documentation 1.0.0
Unreal Engine 5.6 C++ Project Documentation
로딩중...
검색중...
일치하는것 없음
QuestionnaireKiosk.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
3#pragma once
4
5#include "CoreMinimal.h"
7#include "NetworkData.h"
8#include "GameFramework/Actor.h"
9#include "QuestionnaireKiosk.generated.h"
10
11
12UCLASS()
13class ONEPIECE_API AQuestionnaireKiosk : public AActor, public ICompassTargetInterface
14{
15 GENERATED_BODY()
16
17public:
19
20protected:
21 virtual void BeginPlay() override;
22 virtual void GetLifetimeReplicatedProps(TArray<class FLifetimeProperty>& OutLifetimeProps) const override;
23
24public:
25 virtual void Tick(float DeltaTime) override;
26
27protected:
28 // Components
29 UPROPERTY(VisibleAnywhere, BlueprintReadOnly)
30 TObjectPtr<class USceneComponent> RootSceneComp;
31
32 UPROPERTY(VisibleAnywhere, BlueprintReadOnly)
33 TObjectPtr<class UStaticMeshComponent> KioskMeshComp;
34
35 UPROPERTY(VisibleAnywhere, BlueprintReadOnly)
36 TObjectPtr<class UWidgetComponent> WidgetGuideComp;
37
38 UPROPERTY(VisibleAnywhere, BlueprintReadOnly)
39 TObjectPtr<class UInteractableComponent> InteractableComp;
40
41 UPROPERTY(VisibleAnywhere, BlueprintReadOnly)
42 TObjectPtr<class UBoxComponent> BoxComp;
43
44 UPROPERTY(VisibleAnywhere, BlueprintReadOnly)
45 TObjectPtr<class UWidgetComponent> WidgetComp;
46
47 // Interaction
48 UFUNCTION()
49 void OnInteractionTriggered(AActor* Interactor);
50
51 // UFUNCTION(Server, Reliable)
52 // void ServerRPC_OnInteractionTriggered(AActor* Interactor);
53 //
54 // UFUNCTION(Client, Reliable)
55 // void ClientRPC_OnInteractionTriggered(AActor* Interactor);
56
57 UFUNCTION()
58 void OnResponseData(FQuestWriteInfo& InResponseData, bool bWasSuccessful);
59
60 UFUNCTION()
61 void OnOutlineStateChanged(bool bShouldShowOutline);
62
63 void ShowPopup();
64
65 void CreateTestData(FQuestWriteInfo& TestData);
66
67private:
68 void BillboardInteractWidget();
69
70public:
71 FQuestWriteInfo QuestionnaireData;
72
73};
네트워크 요청과 응답에 사용되는 구조체 및 설정을 정의합니다.
Write 퀘스트 정보 구조체입니다.