|
KLingo Project Documentation 1.0.0
Unreal Engine 5.6 C++ Project Documentation
|
상호작용 가능한 수하물 액터 더 자세히 ...
#include <luggage.h>
Aluggage에 대한 상속 다이어그램 :
Aluggage에 대한 협력 다이어그램:Public 멤버 함수 | |
| Aluggage () | |
| void | ApplyColorToMesh (int32 InColorIdx) |
| void | ApplyPatternToMesh (int32 InPatternIdx) |
| virtual void | BeginPlay () override |
| FORCEINLINE FString | GetColor () |
| virtual void | GetLifetimeReplicatedProps (TArray< class FLifetimeProperty > &OutLifetimeProps) const override |
| FORCEINLINE FString | GetPattern () |
| FORCEINLINE int32 | GetSpawnIdx () |
| void | OnInteract (AActor *Interactor) |
| 플레이어가 캐리어를 선택했을 때 호출됩니다. | |
| void | OnOutlineStateChanged (bool bShouldShowOutline) |
| InteractableComponent의 아웃라인 상태 변경 이벤트 핸들러 | |
| void | OnRep_ColorIdx () |
| void | OnRep_IsBeingHooked () |
| bIsBeingHooked 복제 시 호출되는 콜백 | |
| void | OnRep_PatternIdx () |
| void | PlayTTSAudio () |
| void | ServerNotifySelection (class APlayerState *Player) |
| 서버에 캐리어 선택을 알립니다. | |
| void | SetAllCollision (bool bEnable) |
| 모든 컴포넌트의 충돌과 물리를 설정합니다. | |
| void | SetLuggageInfo (int32 InIdx, FString InColor, FString InPattern) |
| virtual void | Tick (float DeltaTime) override |
| bool | UpdateDissolve () |
Public 속성 | |
| bool | bIsBeingHooked = false |
| 훅 중 플래그 (복제됨) | |
| TObjectPtr< class UBoxComponent > | BoxComp |
| int32 | ColorIdx = -1 |
| TObjectPtr< class UHookComponent > | HookComp |
| TObjectPtr< AActor > | HookedBy = nullptr |
| 현재 이 Luggage를 훅하고 있는 플레이어 | |
| TObjectPtr< class UInteractableComponent > | InteractableComp |
| TObjectPtr< class UStaticMeshComponent > | Mesh1Comp |
| TObjectPtr< class UStaticMeshComponent > | Mesh2Comp |
| TObjectPtr< class UStaticMeshComponent > | Mesh3Comp |
| int32 | PatternIdx = -1 |
| FString | Target1 |
| 캐리어의 심볼 (문제1 정답) | |
| FString | Target2 |
| 캐리어의 색상 (문제2 정답) | |
| TObjectPtr< class UWidgetComponent > | WidgetComp |
Protected 멤버 함수 | |
| void | ApplyCollisionState (bool bEnable) |
| void | OnRep_CollisionEnabled () |
Protected 속성 | |
| bool | bCollisionEnabled = true |
| FString | Color = "" |
| TObjectPtr< class UMaterialInterface > | cubeBodyMaterial |
| TObjectPtr< class UMaterialInstanceDynamic > | cubeBodyMID |
| TObjectPtr< class UMaterialInterface > | cubeCoverMaterial |
| TObjectPtr< class UMaterialInstanceDynamic > | cubeCoverMID |
| TObjectPtr< class UMaterialInterface > | cubeStickerMaterial |
| TObjectPtr< class UMaterialInstanceDynamic > | cubeStickerMID |
| const float | dissolveMaxVal = 3.2f |
| float | dissolveSpeed = 0.08f |
| float | dissolveVal = -1.2f |
| FString | Pattern = "" |
| int32 | SpawnIdx = -1 |
Private 멤버 함수 | |
| void | OnResponseListenAudio (FResponseListenAudio &ResponseData, bool bWasSuccessful) |
| void | RequestListenAudio (const FString &AudioText) |
| void | UpdateWidget () |
Private 속성 | |
| bool | bIsRequest |
| bool | bWidgetInitialized = false |
상호작용 가능한 수하물 액터
플레이어가 선택할 수 있는 수하물 오브젝트입니다. Read 퀘스트에서는 Symbol과 Color 정보를 추가로 가지며, 정답 판정에 사용됩니다.
| Aluggage::Aluggage | ( | ) |
luggage.cpp 파일의 26 번째 라인에서 정의되었습니다.
다음을 참조함 : BoxComp, cubeBodyMaterial, cubeCoverMaterial, cubeStickerMaterial, HookComp, InteractableComp, LUGGAGE_INTERACT_WIDGET_PATH, Mesh1Comp, Mesh2Comp, Mesh3Comp, WidgetComp.
|
protected |
luggage.cpp 파일의 304 번째 라인에서 정의되었습니다.
다음을 참조함 : BoxComp, InteractableComp, Mesh1Comp, Mesh2Comp, Mesh3Comp, PRINTLOG.
다음에 의해서 참조됨 : OnRep_CollisionEnabled(), SetAllCollision().
이 함수를 호출하는 함수들에 대한 그래프입니다.:| void Aluggage::ApplyColorToMesh | ( | int32 | InColorIdx | ) |
luggage.cpp 파일의 199 번째 라인에서 정의되었습니다.
다음을 참조함 : ApplyColorToMesh(), Color, ColorIdx, cubeCoverMaterial, cubeCoverMID, FColorData::Desc, FColorData::GetLinearColor(), Mesh3Comp.
다음에 의해서 참조됨 : ApplyColorToMesh(), OnRep_ColorIdx(), ALuggageManager::SpawnLuggage().
이 함수 내부에서 호출하는 함수들에 대한 그래프입니다.:
이 함수를 호출하는 함수들에 대한 그래프입니다.:| void Aluggage::ApplyPatternToMesh | ( | int32 | InPatternIdx | ) |
luggage.cpp 파일의 232 번째 라인에서 정의되었습니다.
다음을 참조함 : ApplyPatternToMesh(), cubeStickerMaterial, cubeStickerMID, Mesh2Comp, Pattern, PatternIdx, FReadData::Texture, FReadData::Word.
다음에 의해서 참조됨 : ApplyPatternToMesh(), OnRep_PatternIdx(), ALuggageManager::SpawnLuggage().
이 함수 내부에서 호출하는 함수들에 대한 그래프입니다.:
이 함수를 호출하는 함수들에 대한 그래프입니다.:
|
overridevirtual |
luggage.cpp 파일의 91 번째 라인에서 정의되었습니다.
다음을 참조함 : cubeBodyMaterial, cubeBodyMID, InteractableComp, Mesh1Comp, OnOutlineStateChanged(), WidgetComp.
이 함수 내부에서 호출하는 함수들에 대한 그래프입니다.:
|
inline |
|
overridevirtual |
[문제] 기존에는 여러 플레이어가 동시에 같은 Luggage를 훅할 수 있었음 [해결] bIsBeingHooked와 HookedBy 복제로 중복 훅 방지
luggage.cpp 파일의 139 번째 라인에서 정의되었습니다.
다음을 참조함 : bCollisionEnabled, bIsBeingHooked, ColorIdx, HookedBy, PatternIdx.
|
inline |
|
inline |
luggage.h 파일의 96 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : ALuggageHolder::CheckLuggage().
이 함수를 호출하는 함수들에 대한 그래프입니다.:| void Aluggage::OnInteract | ( | AActor * | Interactor | ) |
플레이어가 캐리어를 선택했을 때 호출됩니다.
| Interactor | [in] 상호작용을 시도한 액터 (플레이어) |
luggage.cpp 파일의 413 번째 라인에서 정의되었습니다.
다음을 참조함 : PRINTLOG, ServerNotifySelection().
이 함수 내부에서 호출하는 함수들에 대한 그래프입니다.:| void Aluggage::OnOutlineStateChanged | ( | bool | bShouldShowOutline | ) |
InteractableComponent의 아웃라인 상태 변경 이벤트 핸들러
| bShouldShowOutline | [in] true면 아웃라인 표시, false면 숨김 |
luggage.cpp 파일의 283 번째 라인에서 정의되었습니다.
다음을 참조함 : Mesh1Comp, Mesh2Comp, Mesh3Comp.
다음에 의해서 참조됨 : BeginPlay(), OnRep_IsBeingHooked().
이 함수를 호출하는 함수들에 대한 그래프입니다.:
|
protected |
luggage.cpp 파일의 194 번째 라인에서 정의되었습니다.
다음을 참조함 : ApplyCollisionState(), bCollisionEnabled.
이 함수 내부에서 호출하는 함수들에 대한 그래프입니다.:| void Aluggage::OnRep_ColorIdx | ( | ) |
luggage.cpp 파일의 162 번째 라인에서 정의되었습니다.
다음을 참조함 : ApplyColorToMesh(), ColorIdx.
이 함수 내부에서 호출하는 함수들에 대한 그래프입니다.:| void Aluggage::OnRep_IsBeingHooked | ( | ) |
bIsBeingHooked 복제 시 호출되는 콜백
훅 상태 변화 시 비주얼 피드백 (Outline 등)
[문제] 기존에는 훅 상태 변화 시 비주얼 피드백이 없었음 [해결] 훅 중일 때 Outline 표시로 시각적 피드백 제공
luggage.cpp 파일의 177 번째 라인에서 정의되었습니다.
다음을 참조함 : bIsBeingHooked, HookedBy, OnOutlineStateChanged(), PRINTLOG.
이 함수 내부에서 호출하는 함수들에 대한 그래프입니다.:| void Aluggage::OnRep_PatternIdx | ( | ) |
luggage.cpp 파일의 167 번째 라인에서 정의되었습니다.
다음을 참조함 : ApplyPatternToMesh(), PatternIdx.
이 함수 내부에서 호출하는 함수들에 대한 그래프입니다.:
|
private |
luggage.cpp 파일의 493 번째 라인에서 정의되었습니다.
다음을 참조함 : FResponseListenAudio::audio_base64, bIsRequest, ULingoGameHelper::GetPlayerActor().
다음에 의해서 참조됨 : RequestListenAudio().
이 함수 내부에서 호출하는 함수들에 대한 그래프입니다.:
이 함수를 호출하는 함수들에 대한 그래프입니다.:| void Aluggage::PlayTTSAudio | ( | ) |
luggage.cpp 파일의 472 번째 라인에서 정의되었습니다.
다음을 참조함 : Color, Pattern, RequestListenAudio().
이 함수 내부에서 호출하는 함수들에 대한 그래프입니다.:
|
private |
luggage.cpp 파일의 477 번째 라인에서 정의되었습니다.
다음을 참조함 : bIsRequest, OnResponseListenAudio().
다음에 의해서 참조됨 : PlayTTSAudio().
이 함수 내부에서 호출하는 함수들에 대한 그래프입니다.:
이 함수를 호출하는 함수들에 대한 그래프입니다.:| void Aluggage::ServerNotifySelection | ( | class APlayerState * | Player | ) |
서버에 캐리어 선택을 알립니다.
| Player | [in] 선택한 플레이어의 PlayerState |
다음에 의해서 참조됨 : OnInteract().
이 함수를 호출하는 함수들에 대한 그래프입니다.:| void Aluggage::SetAllCollision | ( | bool | bEnable | ) |
모든 컴포넌트의 충돌과 물리를 설정합니다.
| bEnable | [in] true면 충돌 활성화, false면 비활성화 |
Holder에서 Luggage의 상호작용을 제어하기 위해 사용됩니다.
luggage.cpp 파일의 373 번째 라인에서 정의되었습니다.
다음을 참조함 : ApplyCollisionState(), bCollisionEnabled.
다음에 의해서 참조됨 : AHolder::CheckLuggage(), ALuggageHolder::CheckLuggage().
이 함수 내부에서 호출하는 함수들에 대한 그래프입니다.:
이 함수를 호출하는 함수들에 대한 그래프입니다.:| void Aluggage::SetLuggageInfo | ( | int32 | InIdx, |
| FString | InColor, | ||
| FString | InPattern | ||
| ) |
luggage.cpp 파일의 155 번째 라인에서 정의되었습니다.
다음을 참조함 : Color, Pattern, SpawnIdx.
다음에 의해서 참조됨 : ALuggageManager::SpawnLuggage().
이 함수를 호출하는 함수들에 대한 그래프입니다.:
|
overridevirtual |
luggage.cpp 파일의 114 번째 라인에서 정의되었습니다.
다음을 참조함 : bWidgetInitialized, Color, ColorIdx, Pattern, PatternIdx, WidgetComp.
| bool Aluggage::UpdateDissolve | ( | ) |
luggage.cpp 파일의 290 번째 라인에서 정의되었습니다.
다음을 참조함 : cubeBodyMID, cubeCoverMID, cubeStickerMID, dissolveMaxVal, dissolveSpeed, dissolveVal, PRINTLOG.
|
private |
luggage.cpp 파일의 273 번째 라인에서 정의되었습니다.
다음을 참조함 : Color, Pattern, WidgetComp.
|
protected |
luggage.h 파일의 74 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : GetLifetimeReplicatedProps(), OnRep_CollisionEnabled(), SetAllCollision().
| bool Aluggage::bIsBeingHooked = false |
훅 중 플래그 (복제됨)
[문제] 기존에는 여러 플레이어가 동시에 같은 Luggage를 훅할 수 있었음 [해결] bIsBeingHooked 플래그로 중복 훅 방지
luggage.h 파일의 55 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : GetLifetimeReplicatedProps(), AConveyorBelt::MoveOverlappedStatics(), OnRep_IsBeingHooked().
|
private |
luggage.h 파일의 189 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : OnResponseListenAudio(), RequestListenAudio().
| TObjectPtr<class UBoxComponent> Aluggage::BoxComp |
luggage.h 파일의 28 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : Aluggage(), ApplyCollisionState().
|
private |
|
protected |
luggage.h 파일의 88 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : ApplyColorToMesh(), PlayTTSAudio(), SetLuggageInfo(), Tick(), UpdateWidget().
| int32 Aluggage::ColorIdx = -1 |
luggage.h 파일의 103 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : ApplyColorToMesh(), AHolder::CheckLuggage(), GetLifetimeReplicatedProps(), OnRep_ColorIdx(), Tick().
|
protected |
luggage.h 파일의 164 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : Aluggage(), BeginPlay().
|
protected |
luggage.h 파일의 173 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : BeginPlay(), UpdateDissolve().
|
protected |
luggage.h 파일의 170 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : Aluggage(), ApplyColorToMesh().
|
protected |
luggage.h 파일의 179 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : ApplyColorToMesh(), UpdateDissolve().
|
protected |
luggage.h 파일의 167 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : Aluggage(), ApplyPatternToMesh().
|
protected |
luggage.h 파일의 176 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : ApplyPatternToMesh(), UpdateDissolve().
|
protected |
luggage.h 파일의 181 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : UpdateDissolve().
|
protected |
luggage.h 파일의 183 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : UpdateDissolve().
|
protected |
luggage.h 파일의 182 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : UpdateDissolve().
| TObjectPtr<class UHookComponent> Aluggage::HookComp |
luggage.h 파일의 43 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : Aluggage().
| TObjectPtr<AActor> Aluggage::HookedBy = nullptr |
현재 이 Luggage를 훅하고 있는 플레이어
중복 훅 방지 및 디버깅용
luggage.h 파일의 62 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : GetLifetimeReplicatedProps(), OnRep_IsBeingHooked().
| TObjectPtr<class UInteractableComponent> Aluggage::InteractableComp |
luggage.h 파일의 38 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : Aluggage(), ApplyCollisionState(), BeginPlay(), AConveyorBelt::MoveOverlappedStatics().
| TObjectPtr<class UStaticMeshComponent> Aluggage::Mesh1Comp |
luggage.h 파일의 31 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : Aluggage(), ApplyCollisionState(), BeginPlay(), OnOutlineStateChanged().
| TObjectPtr<class UStaticMeshComponent> Aluggage::Mesh2Comp |
luggage.h 파일의 33 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : Aluggage(), ApplyCollisionState(), ApplyPatternToMesh(), OnOutlineStateChanged().
| TObjectPtr<class UStaticMeshComponent> Aluggage::Mesh3Comp |
luggage.h 파일의 35 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : Aluggage(), ApplyCollisionState(), ApplyColorToMesh(), OnOutlineStateChanged().
|
protected |
luggage.h 파일의 90 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : ApplyPatternToMesh(), PlayTTSAudio(), SetLuggageInfo(), Tick(), UpdateWidget().
| int32 Aluggage::PatternIdx = -1 |
luggage.h 파일의 106 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : ApplyPatternToMesh(), AHolder::CheckLuggage(), GetLifetimeReplicatedProps(), OnRep_PatternIdx(), Tick().
|
protected |
luggage.h 파일의 86 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : SetLuggageInfo().
| FString Aluggage::Target1 |
캐리어의 심볼 (문제1 정답)
luggage.h 파일의 137 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : ALingoGameMode::HandleLuggageSelection(), ALingoGameMode::ValidateAnswer().
| FString Aluggage::Target2 |
캐리어의 색상 (문제2 정답)
luggage.h 파일의 141 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : ALingoGameMode::HandleLuggageSelection(), ALingoGameMode::ValidateAnswer().
| TObjectPtr<class UWidgetComponent> Aluggage::WidgetComp |
luggage.h 파일의 40 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : Aluggage(), BeginPlay(), Tick(), UpdateWidget().