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


Public 멤버 함수 | |
| virtual void | OnViewBound (UUserWidgetBase *View) override |
| virtual void | OnViewUnbound (UUserWidgetBase *View) override |
| virtual void | DeinitializePresenter () override |
| bool | BeginDonation (UAbilitySystemComponent *ASC, UWeaponDonationRequest *Request) |
| void | EndDonation () |
| bool | ResolveScreenPose (FWeaponDonationScreenPose &Pose) const |
| void | CompleteWeaponHandoff () |
| bool | ResolveVideoBounds (FVector2D &Min, FVector2D &Max) const |
| void | NotifyWeaponShapeProgress (float Progress) |
| void | NotifyWeaponExit () |
UUserPresenterBase(으)로부터 상속된 Public 멤버 함수 | |
| virtual void | InitializePresenter (UUIManagementSubsystem *Subsystem) override |
| virtual UWorld * | GetWorld () const override |
| FORCEINLINE UUIManagementSubsystem * | GetUISubsystem () const |
| void | SetInputKeys (APlayerController *PlayerController, const TArray< FKey > &Keys, int32 Priority=100) |
| void | DisableInput () |
Public 속성 | |
| FOnDonationWeaponExit | OnWeaponExit |
| FOnDonationWeaponExit | OnDonationCancelled |
Protected 속성 | |
| TObjectPtr< UWeaponDonationRequest > | ActiveRequest |
| TWeakObjectPtr< UWeaponDonationHUDWidget > | ActiveView |
| TWeakObjectPtr< UAbilitySystemComponent > | DonationASC |
| FDelegateHandle | DonationEventHandle |
| FTimerHandle | CueTimer |
| FTimerHandle | PostLaunchTimer |
| bool | bPlaying = false |
| bool | bShapeReady = false |
| bool | bAbilityReady = false |
| bool | bExited = false |
| bool | bWaitingForLaunch = false |
Private 멤버 함수 | |
| bool | ResolveVideoAxes (FVector2D &Center, FVector2D &Right, FVector2D &Down) const |
| void | CancelDonation () |
| void | ReleaseDonationWeapon () |
| void | HandleDonationEvent (const FGameplayEventData *Payload) |
Private 속성 | |
| float | VideoCueTimeout = 15.0f |
| float | PostLaunchUIOffset = 0.0f |
추가로 상속된 멤버들 | |
UUserPresenterBase(으)로부터 상속된 Protected 멤버 함수 | |
| void | ReceiveInitializePresenter (UUIManagementSubsystem *Subsystem) |
| void | ReceiveDeinitializePresenter () |
| void | ReceiveViewBound (UUserWidgetBase *View) |
| void | ReceiveViewUnbound (UUserWidgetBase *View) |
도네이션 1회의 영상 인계 신호와 취소를 관리합니다. 게임 입력은 기존 GA 입력을 사용합니다.
| bool UWeaponDonationPresenter::BeginDonation | ( | UAbilitySystemComponent * | ASC, |
| UWeaponDonationRequest * | Request | ||
| ) |
다음을 참조함 : ActiveRequest, ActiveView, bAbilityReady, bExited, bPlaying, bShapeReady, CueTimer, DonationASC, DonationEventHandle, UUserPresenterBase::GetWorld(), Request, VideoCueTimeout.
다음에 의해서 참조됨 : UGC_WeaponDonation::OnExecute_Implementation().


|
private |
다음을 참조함 : ActiveRequest, bPlaying, EndDonation(), OnDonationCancelled.
다음에 의해서 참조됨 : DeinitializePresenter(), NotifyWeaponShapeProgress(), OnViewBound(), OnViewUnbound(), ReleaseDonationWeapon().


| void UWeaponDonationPresenter::CompleteWeaponHandoff | ( | ) |
스킬 준비 후 설정된 Offset만큼 UI를 유지하고, 숨김과 동시에 생성·발사를 인계합니다.
다음을 참조함 : ActiveView, bAbilityReady, bExited, bPlaying, bWaitingForLaunch, UUserPresenterBase::GetWorld(), PostLaunchTimer, PostLaunchUIOffset, ReleaseDonationWeapon().
다음에 의해서 참조됨 : HandleDonationEvent(), NotifyWeaponExit().


|
overridevirtual |
UUserPresenterBase(으)로부터 재구현되었습니다.
다음을 참조함 : ActiveView, CancelDonation().

| void UWeaponDonationPresenter::EndDonation | ( | ) |
다음을 참조함 : ActiveRequest, ActiveView, bAbilityReady, bExited, bPlaying, bShapeReady, bWaitingForLaunch, CueTimer, DonationASC, DonationEventHandle, UUserPresenterBase::GetUISubsystem(), UUserPresenterBase::GetWorld(), UWeaponDonationHUDWidget::HideDonation(), PostLaunchTimer.
다음에 의해서 참조됨 : CancelDonation(), HandleDonationEvent(), ReleaseDonationWeapon().


|
private |
다음을 참조함 : ActiveRequest, bAbilityReady, Cancelled, CompleteWeaponHandoff(), EndDonation(), Ended, Handoff.

| void UWeaponDonationPresenter::NotifyWeaponExit | ( | ) |
기존 Widget Animation의 종료 신호입니다. 무기 생성과 발사를 예약합니다.
다음을 참조함 : ActiveRequest, ActiveView, bExited, bPlaying, CompleteWeaponHandoff(), CueTimer, UUserPresenterBase::GetWorld(), NotifyWeaponShapeProgress(), OnWeaponExit.

| void UWeaponDonationPresenter::NotifyWeaponShapeProgress | ( | float | Progress | ) |
Progress가 1에 도달하면 실제 스킬을 한 번만 준비합니다. 무기는 아직 생성하지 않습니다.
다음을 참조함 : ActiveRequest, bPlaying, bShapeReady, CancelDonation().
다음에 의해서 참조됨 : NotifyWeaponExit().


|
overridevirtual |
UUserPresenterBase(으)로부터 재구현되었습니다.
다음을 참조함 : ActiveView, CancelDonation().

|
overridevirtual |
UUserPresenterBase(으)로부터 재구현되었습니다.
다음을 참조함 : ActiveView, CancelDonation().

|
private |
위젯 제거 중 발생하는 연결 해제보다 먼저 요청을 보관하고, 제거 후 발사 신호를 보냅니다.
다음을 참조함 : ActiveRequest, bPlaying, bWaitingForLaunch, CancelDonation(), DonationASC, EndDonation(), Launch, Request, ResolveScreenPose().
다음에 의해서 참조됨 : CompleteWeaponHandoff().


| bool UWeaponDonationPresenter::ResolveScreenPose | ( | FWeaponDonationScreenPose & | Pose | ) | const |
화면 중심·크기·회전을 한 번에 구합니다.
다음을 참조함 : ActiveView, FWeaponDonationScreenPose::Center, UWeaponDonationHUDWidget::GetWeaponScreenPose(), FWeaponDonationScreenPose::Height, ResolveVideoAxes(), Right, FWeaponDonationScreenPose::Rotation, FWeaponDonationScreenPose::WidthScale.
다음에 의해서 참조됨 : ReleaseDonationWeapon().


|
private |
회전된 바깥 사각형 대신 실제 이미지의 픽셀 축을 읽습니다.
다음을 참조함 : ActiveView, LOG_WARNING, Right.
다음에 의해서 참조됨 : ResolveScreenPose().

| bool UWeaponDonationPresenter::ResolveVideoBounds | ( | FVector2D & | Min, |
| FVector2D & | Max | ||
| ) | const |
영상의 실제 픽셀 영역을 반환합니다. 레이아웃이 준비되지 않으면 실패합니다.
다음을 참조함 : ActiveView, UWeaponDonationHUDWidget::GetDonationScreenBounds().

|
protected |
|
protected |
|
protected |
다음에 의해서 참조됨 : BeginDonation(), CompleteWeaponHandoff(), EndDonation(), HandleDonationEvent().
|
protected |
다음에 의해서 참조됨 : BeginDonation(), CompleteWeaponHandoff(), EndDonation(), NotifyWeaponExit().
|
protected |
|
protected |
다음에 의해서 참조됨 : BeginDonation(), EndDonation(), NotifyWeaponShapeProgress().
|
protected |
다음에 의해서 참조됨 : CompleteWeaponHandoff(), EndDonation(), ReleaseDonationWeapon().
|
protected |
다음에 의해서 참조됨 : BeginDonation(), EndDonation(), NotifyWeaponExit().
|
protected |
다음에 의해서 참조됨 : BeginDonation(), EndDonation(), ReleaseDonationWeapon().
|
protected |
시작용 Ability 종료 후에도 UI가 요청을 소유하고, 준비 완료 시 실제 스킬로 인계합니다.
다음에 의해서 참조됨 : BeginDonation(), EndDonation().
| FOnDonationWeaponExit UWeaponDonationPresenter::OnDonationCancelled |
다음에 의해서 참조됨 : CancelDonation().
| FOnDonationWeaponExit UWeaponDonationPresenter::OnWeaponExit |
다음에 의해서 참조됨 : NotifyWeaponExit().
|
protected |
다음에 의해서 참조됨 : CompleteWeaponHandoff(), EndDonation().
|
private |
Animation 종료 신호 이후 위젯 종료·무기 발사까지의 추가 대기 시간입니다. 기존 BP 설정값을 유지합니다.
다음에 의해서 참조됨 : CompleteWeaponHandoff().
|
private |
변형 완료 신호가 누락된 경우 스킬을 취소하는 제한 시간입니다.
다음에 의해서 참조됨 : BeginDonation().