|
Payback 0.0.1
CK Graduation Project
|
#include <ScenarioCutsceneWidget.h>


Public 멤버 함수 | |
| virtual void | BindPresenter_Implementation (UObject *Presenter) override |
| virtual void | UnbindPresenter_Implementation (UObject *Presenter) override |
| void | ApplyCutsceneLine (const FText &SpeakerNameText, const FText &DialogTextValue, const FText &CutscenePathText) |
| void | SetDialogText (const FText &DialogTextValue) |
| void | SetCutsceneImage (const FText &CutscenePathText) |
| void | OnCutsceneStarted () |
| void | OnCutsceneLineChanged (const FDT_ScenarioCutsceneTable &CutsceneRow, const FText &SpeakerNameText, const FText &DialogTextValue, const FText &CutscenePathText) |
| void | OnCutsceneDialogTextChanged (const FText &DialogTextValue) |
| void | OnCutsceneWaitingInput () |
| void | OnCutsceneFinished () |
UUserWidgetBase(으)로부터 상속된 Public 멤버 함수 | |
| UUserPresenterBase * | RequestPresenter () |
| UUserPresenterBase * | FindPresenter () const |
| void | ReleasePresenter () |
| virtual void | SetAbilitySystemComponent (AActor *InOwner) |
| virtual void | ResetAbilitySystemComponent (AActor *InOwner) |
| virtual UAbilitySystemComponent * | GetAbilitySystemComponent () const override |
| virtual void | OnPushedToLayer () |
| virtual void | OnPoppedFromLayer () |
| virtual void | OnActivated () |
| virtual void | OnDeactivated () |
| void | Activate () |
| void | Deactivate () |
| bool | CanBePushedToLayer () const |
| FORCEINLINE UWaitForWidgetActivation * | GetActivationHandle () |
| FORCEINLINE TSubclassOf< UUserPresenterBase > | GetWidgetPresenterClass () const |
| FORCEINLINE FGameplayTag | GetLayerTag () const |
| FORCEINLINE void | SetLayerTag (const FGameplayTag InTag) |
| FORCEINLINE bool | IsPrimary () const |
| FORCEINLINE void | SetPrimary (const bool InPrimary) |
| FORCEINLINE EWidgetState | GetWidgetState () const |
| FORCEINLINE void | SetWidgetState (const EWidgetState InState) |
| FORCEINLINE bool | HasAppearanceAnim () const |
| FORCEINLINE bool | HasDisappearanceAnim () const |
IWidgetViewInterface(으)로부터 상속된 Public 멤버 함수 | |
| void | BindPresenter (UObject *Presenter) |
| void | UnbindPresenter (UObject *Presenter) |
Protected 멤버 함수 | |
| virtual void | NativeConstruct () override |
| virtual void | OnWidgetStateChanged (EWidgetState InState) override |
UUserWidgetBase(으)로부터 상속된 Protected 멤버 함수 | |
| virtual void | NativeDestruct () override |
| virtual void | OnWidgetActivated () |
| virtual void | OnWidgetDeactivated () |
| void | OnPushedToLayer_Internal () |
| void | OnPoppedFromLayer_Internal () |
| void | OnActivated_Internal () |
| void | OnDeactivated_Internal () |
Protected 속성 | |
| TObjectPtr< UWidget > | DialogBox |
| TObjectPtr< UImage > | CutsceneImage |
| TObjectPtr< URichTextBlock > | SpeakerName |
| TObjectPtr< URichTextBlock > | DialogText |
UUserWidgetBase(으)로부터 상속된 Protected 속성 | |
| TSubclassOf< UUserPresenterBase > | PresenterClass |
| EWidgetState | WidgetState |
| TObjectPtr< UAbilitySystemComponent > | ASC |
| FGameplayTag | LayerTag |
| bool | bPrimary = false |
| TObjectPtr< UWidgetAnimation > | AppearanceAnim |
| TObjectPtr< UWidgetAnimation > | DisappearanceAnim |
Presenter의 상태를 표시하며 BP에는 구현된 표시 함수와 연출 알림을 제공합니다.
| void UScenarioCutsceneWidget::ApplyCutsceneLine | ( | const FText & | SpeakerNameText, |
| const FText & | DialogTextValue, | ||
| const FText & | CutscenePathText | ||
| ) |
화자, 대사, 이미지를 갱신하고 대사 상자를 표시합니다.
다음을 참조함 : DialogBox, DialogText, UUserWidgetBase::FindPresenter(), LOG_WARNING, SetCutsceneImage(), SetDialogText(), SpeakerName, Typing.

|
overridevirtual |
UUserWidgetBase(으)로부터 재구현되었습니다.
다음을 참조함 : UScenarioCutscenePresenter::OnCutsceneDialogTextChanged, UScenarioCutscenePresenter::OnCutsceneFinished, UScenarioCutscenePresenter::OnCutsceneLineChanged, UScenarioCutscenePresenter::OnCutsceneStarted, UScenarioCutscenePresenter::OnCutsceneWaitingInput.
|
overrideprotectedvirtual |
UUserWidgetBase(으)로부터 재구현되었습니다.
다음을 참조함 : UUserWidgetBase::RequestPresenter().

| void UScenarioCutsceneWidget::OnCutsceneDialogTextChanged | ( | const FText & | DialogTextValue | ) |
전체 대사는 유지하고 Presenter의 글리프 표시 범위를 반영합니다. BP 재정의 시 부모를 호출합니다.
| void UScenarioCutsceneWidget::OnCutsceneFinished | ( | ) |
BP의 선택적 종료 연출에 완료를 알립니다. 위젯 제거는 호출자가 담당합니다.
| void UScenarioCutsceneWidget::OnCutsceneLineChanged | ( | const FDT_ScenarioCutsceneTable & | CutsceneRow, |
| const FText & | SpeakerNameText, | ||
| const FText & | DialogTextValue, | ||
| const FText & | CutscenePathText | ||
| ) |
기본 C++ 구현으로 대사를 표시하며, BP 재정의 시 부모 호출로 기본 표시를 유지합니다.
| void UScenarioCutsceneWidget::OnCutsceneStarted | ( | ) |
BP의 선택적 연출 흐름에 컷신 시작을 알립니다.
| void UScenarioCutsceneWidget::OnCutsceneWaitingInput | ( | ) |
BP의 선택적 입력 안내 연출에 대사 완성을 알립니다.
|
overrideprotectedvirtual |
연결된 Presenter들의 입력 우선순위를 상태 전환 즉시 갱신합니다.
UUserWidgetBase(으)로부터 재구현되었습니다.
다음을 참조함 : UUserWidgetBase::FindPresenter().

| void UScenarioCutsceneWidget::SetCutsceneImage | ( | const FText & | CutscenePathText | ) |
이미지 경로를 로드하며, 빈 경로나 로드 실패 시 이미지를 숨깁니다.
다음을 참조함 : CutsceneImage, LOG_WARNING.
다음에 의해서 참조됨 : ApplyCutsceneLine().

| void UScenarioCutsceneWidget::SetDialogText | ( | const FText & | DialogTextValue | ) |
Rich Text 대사를 갱신합니다.
다음을 참조함 : DialogText.
다음에 의해서 참조됨 : ApplyCutsceneLine().

|
overridevirtual |
UUserWidgetBase(으)로부터 재구현되었습니다.
다음을 참조함 : UScenarioCutscenePresenter::OnCutsceneDialogTextChanged, UScenarioCutscenePresenter::OnCutsceneFinished, UScenarioCutscenePresenter::OnCutsceneLineChanged, UScenarioCutscenePresenter::OnCutsceneStarted, UScenarioCutscenePresenter::OnCutsceneWaitingInput.
|
protected |
현재 대사의 이미지를 표시합니다.
다음에 의해서 참조됨 : SetCutsceneImage().
|
protected |
대사 표시 시 활성화할 BP 대사 상자입니다.
다음에 의해서 참조됨 : ApplyCutsceneLine().
|
protected |
C++ 표시 함수가 대사와 Rich Text 스타일을 반영합니다.
다음에 의해서 참조됨 : ApplyCutsceneLine(), SetDialogText().
|
protected |
BP의 같은 이름을 가진 Rich Text Block에 화자 이름을 표시합니다.
다음에 의해서 참조됨 : ApplyCutsceneLine().