Payback 0.0.1
CK Graduation Project
로딩중...
검색중...
일치하는것 없음
UWeaponDonationPresenter 클래스 참조

#include <WeaponDonationPresenter.h>

UWeaponDonationPresenter에 대한 상속 다이어그램 :
Inheritance graph
UWeaponDonationPresenter에 대한 협력 다이어그램:
Collaboration graph

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 입력을 사용합니다.

멤버 함수 문서화

◆ BeginDonation()

bool UWeaponDonationPresenter::BeginDonation ( UAbilitySystemComponent *  ASC,
UWeaponDonationRequest *  Request 
)
46{
47 if (bPlaying || ActiveView.IsValid() == false || GetWorld() == nullptr || ASC == nullptr ||
48 Request == nullptr || Request->IsOpen() == false || Request->HasPresentationStarted())
49 {
50 return false;
51 }
52
53 bPlaying = true;
54 bShapeReady = false;
55 bAbilityReady = false;
56 bExited = false;
57 DonationASC = ASC;
59 Request->MarkPresentationStarted();
60 DonationEventHandle = ASC->GenericGameplayEventCallbacks.FindOrAdd(TAG_EVENT_DONATION).AddUObject(this, &ThisClass::HandleDonationEvent);
61
62 GetWorld()->GetTimerManager().SetTimer(CueTimer, this, &ThisClass::CancelDonation, FMath::Max(VideoCueTimeout, 0.01f), false);
63
64 if (bPlaying && Request->IsOpen())
65 {
66 ActiveView->ShowDonation(Request->GetWeaponTag(), this);
67 }
68
69 return true;
70}
virtual UWorld * GetWorld() const override
Definition UserPresenterBase.cpp:41
bool bExited
Definition WeaponDonationPresenter.h:80
TWeakObjectPtr< UWeaponDonationHUDWidget > ActiveView
Definition WeaponDonationPresenter.h:69
TWeakObjectPtr< UAbilitySystemComponent > DonationASC
Definition WeaponDonationPresenter.h:70
float VideoCueTimeout
Definition WeaponDonationPresenter.h:86
bool bAbilityReady
Definition WeaponDonationPresenter.h:79
FTimerHandle CueTimer
Definition WeaponDonationPresenter.h:74
FDelegateHandle DonationEventHandle
Definition WeaponDonationPresenter.h:73
TObjectPtr< UWeaponDonationRequest > ActiveRequest
Definition WeaponDonationPresenter.h:66
bool bShapeReady
Definition WeaponDonationPresenter.h:78
bool bPlaying
Definition WeaponDonationPresenter.h:77

다음을 참조함 : ActiveRequest, ActiveView, bAbilityReady, bExited, bPlaying, bShapeReady, CueTimer, DonationASC, DonationEventHandle, UUserPresenterBase::GetWorld(), Request, VideoCueTimeout.

다음에 의해서 참조됨 : UGC_WeaponDonation::OnExecute_Implementation().

이 함수 내부에서 호출하는 함수들에 대한 그래프입니다.:
이 함수를 호출하는 함수들에 대한 그래프입니다.:

◆ CancelDonation()

void UWeaponDonationPresenter::CancelDonation ( )
private
158{
159 if (! bPlaying)
160 {
161 return;
162 }
163
164 if (ActiveRequest)
165 {
166 ActiveRequest->Cancel();
167 }
168
169 // ASC 이벤트 처리 중 GA가 이미 종료 이벤트를 보냈을 수 있습니다.
170 if (bPlaying)
171 {
172 EndDonation();
173 }
174
175 OnDonationCancelled.Broadcast();
176}
void EndDonation()
Definition WeaponDonationPresenter.cpp:118
FOnDonationWeaponExit OnDonationCancelled
Definition WeaponDonationPresenter.h:62

다음을 참조함 : ActiveRequest, bPlaying, EndDonation(), OnDonationCancelled.

다음에 의해서 참조됨 : DeinitializePresenter(), NotifyWeaponShapeProgress(), OnViewBound(), OnViewUnbound(), ReleaseDonationWeapon().

이 함수 내부에서 호출하는 함수들에 대한 그래프입니다.:
이 함수를 호출하는 함수들에 대한 그래프입니다.:

◆ CompleteWeaponHandoff()

void UWeaponDonationPresenter::CompleteWeaponHandoff ( )

스킬 준비 후 설정된 Offset만큼 UI를 유지하고, 숨김과 동시에 생성·발사를 인계합니다.

276{
277 if (bPlaying == false || bExited == false || bAbilityReady == false || bWaitingForLaunch || ActiveView.IsValid() == false)
278 {
279 return;
280 }
281
282 bWaitingForLaunch = true;
283
284 if (FMath::IsFinite(PostLaunchUIOffset) && PostLaunchUIOffset > 0.0f && GetWorld())
285 {
286 GetWorld()->GetTimerManager().SetTimer(PostLaunchTimer, this, &ThisClass::ReleaseDonationWeapon, PostLaunchUIOffset, false);
287 return;
288 }
289
291}
void ReleaseDonationWeapon()
Definition WeaponDonationPresenter.cpp:294
bool bWaitingForLaunch
Definition WeaponDonationPresenter.h:81
FTimerHandle PostLaunchTimer
Definition WeaponDonationPresenter.h:75
float PostLaunchUIOffset
Definition WeaponDonationPresenter.h:90

다음을 참조함 : ActiveView, bAbilityReady, bExited, bPlaying, bWaitingForLaunch, UUserPresenterBase::GetWorld(), PostLaunchTimer, PostLaunchUIOffset, ReleaseDonationWeapon().

다음에 의해서 참조됨 : HandleDonationEvent(), NotifyWeaponExit().

이 함수 내부에서 호출하는 함수들에 대한 그래프입니다.:
이 함수를 호출하는 함수들에 대한 그래프입니다.:

◆ DeinitializePresenter()

void UWeaponDonationPresenter::DeinitializePresenter ( )
overridevirtual

UUserPresenterBase(으)로부터 재구현되었습니다.

38{
40 ActiveView.Reset();
41 Super::DeinitializePresenter();
42}
void CancelDonation()
Definition WeaponDonationPresenter.cpp:157

다음을 참조함 : ActiveView, CancelDonation().

이 함수 내부에서 호출하는 함수들에 대한 그래프입니다.:

◆ EndDonation()

void UWeaponDonationPresenter::EndDonation ( )
119{
120 bPlaying = false;
121 bShapeReady = false;
122 bAbilityReady = false;
123 bExited = false;
124 bWaitingForLaunch = false;
125
126 UAbilitySystemComponent* ASC = DonationASC.Get();
127
128 if (FGameplayEventMulticastDelegate* Event = ASC ? ASC->GenericGameplayEventCallbacks.Find(TAG_EVENT_DONATION) : nullptr)
129 {
130 Event->Remove(DonationEventHandle);
131 }
132
133 DonationEventHandle.Reset();
134 DonationASC.Reset();
135 ActiveRequest = nullptr;
136
137 if (UWorld* World = GetWorld())
138 {
139 World->GetTimerManager().ClearTimer(CueTimer);
140 World->GetTimerManager().ClearTimer(PostLaunchTimer);
141 }
142
143 UWeaponDonationHUDWidget* View = nullptr;
144
145 if ((View = ActiveView.Get()))
146 {
147 View->HideDonation();
148 }
149
150 if (UUIManagementSubsystem* UI = View ? GetUISubsystem() : nullptr)
151 {
152 UI->PopWidget(View);
153 }
154}
Definition UIManagementSubsystem.h:28
FORCEINLINE UUIManagementSubsystem * GetUISubsystem() const
Definition UserPresenterBase.h:32
Definition WeaponDonationHUDWidget.h:11

다음을 참조함 : ActiveRequest, ActiveView, bAbilityReady, bExited, bPlaying, bShapeReady, bWaitingForLaunch, CueTimer, DonationASC, DonationEventHandle, UUserPresenterBase::GetUISubsystem(), UUserPresenterBase::GetWorld(), UWeaponDonationHUDWidget::HideDonation(), PostLaunchTimer.

다음에 의해서 참조됨 : CancelDonation(), HandleDonationEvent(), ReleaseDonationWeapon().

이 함수 내부에서 호출하는 함수들에 대한 그래프입니다.:
이 함수를 호출하는 함수들에 대한 그래프입니다.:

◆ HandleDonationEvent()

void UWeaponDonationPresenter::HandleDonationEvent ( const FGameplayEventData *  Payload)
private
180{
181 if (Payload == nullptr || ActiveRequest == nullptr || Payload->OptionalObject != ActiveRequest.Get())
182 {
183 return;
184 }
185
186 if (Payload->EventMagnitude == static_cast<float>(EWeaponDonationState::Handoff))
187 {
188 bAbilityReady = true;
190 }
191 else if (Payload->EventMagnitude == static_cast<float>(EWeaponDonationState::Cancelled))
192 {
193 EndDonation();
194 }
195 else if (Payload->EventMagnitude == static_cast<float>(EWeaponDonationState::Ended))
196 {
197 EndDonation();
198 }
199}
void CompleteWeaponHandoff()
Definition WeaponDonationPresenter.cpp:275

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

이 함수 내부에서 호출하는 함수들에 대한 그래프입니다.:

◆ NotifyWeaponExit()

void UWeaponDonationPresenter::NotifyWeaponExit ( )

기존 Widget Animation의 종료 신호입니다. 무기 생성과 발사를 예약합니다.

90{
91 if (bPlaying == false || bExited || ActiveView.IsValid() == false ||
92 ActiveRequest == nullptr || ActiveRequest->IsOpen() == false)
93 {
94 return;
95 }
96
97 // 기존 일회성 종료 이벤트만 호출하는 BP에서도 먼저 스킬을 준비합니다.
98 ActiveView->SetWeaponShapeProgress(1.0f);
100
101 if (bPlaying == false)
102 {
103 return;
104 }
105
106 bExited = true;
107 ActiveView->StopAllAnimations();
108 GetWorld()->GetTimerManager().ClearTimer(CueTimer);
109 OnWeaponExit.Broadcast();
110
111 if (bPlaying)
112 {
114 }
115}
void NotifyWeaponShapeProgress(float Progress)
Definition WeaponDonationPresenter.cpp:73
FOnDonationWeaponExit OnWeaponExit
Definition WeaponDonationPresenter.h:59

다음을 참조함 : ActiveRequest, ActiveView, bExited, bPlaying, CompleteWeaponHandoff(), CueTimer, UUserPresenterBase::GetWorld(), NotifyWeaponShapeProgress(), OnWeaponExit.

이 함수 내부에서 호출하는 함수들에 대한 그래프입니다.:

◆ NotifyWeaponShapeProgress()

void UWeaponDonationPresenter::NotifyWeaponShapeProgress ( float  Progress)

Progress가 1에 도달하면 실제 스킬을 한 번만 준비합니다. 무기는 아직 생성하지 않습니다.

74{
75 if (FMath::IsFinite(Progress) == false || Progress < 1.0f || bPlaying == false || bShapeReady ||
76 ActiveRequest == nullptr || ActiveRequest->IsOpen() == false)
77 {
78 return;
79 }
80
81 bShapeReady = true;
82 if (ActiveRequest->ActivateAbility() == false && bPlaying)
83 {
85 }
86}

다음을 참조함 : ActiveRequest, bPlaying, bShapeReady, CancelDonation().

다음에 의해서 참조됨 : NotifyWeaponExit().

이 함수 내부에서 호출하는 함수들에 대한 그래프입니다.:
이 함수를 호출하는 함수들에 대한 그래프입니다.:

◆ OnViewBound()

void UWeaponDonationPresenter::OnViewBound ( UUserWidgetBase *  View)
overridevirtual

UUserPresenterBase(으)로부터 재구현되었습니다.

14{
15 if (ActiveView.IsValid() && ActiveView.Get() != View)
16 {
18 }
19
20 Super::OnViewBound(View);
21 ActiveView = Cast<UWeaponDonationHUDWidget>(View);
22}

다음을 참조함 : ActiveView, CancelDonation().

이 함수 내부에서 호출하는 함수들에 대한 그래프입니다.:

◆ OnViewUnbound()

void UWeaponDonationPresenter::OnViewUnbound ( UUserWidgetBase *  View)
overridevirtual

UUserPresenterBase(으)로부터 재구현되었습니다.

26{
27 if (ActiveView.Get() == View)
28 {
30 ActiveView.Reset();
31 }
32
33 Super::OnViewUnbound(View);
34}

다음을 참조함 : ActiveView, CancelDonation().

이 함수 내부에서 호출하는 함수들에 대한 그래프입니다.:

◆ ReleaseDonationWeapon()

void UWeaponDonationPresenter::ReleaseDonationWeapon ( )
private

위젯 제거 중 발생하는 연결 해제보다 먼저 요청을 보관하고, 제거 후 발사 신호를 보냅니다.

295{
296 if (bPlaying == false || bWaitingForLaunch == false)
297 {
298 return;
299 }
300
302
303 if (ActiveRequest == nullptr || ResolveScreenPose(Pose) == false)
304 {
306 return;
307 }
308
309 // 위젯을 숨기기 직전의 최종 자세만 전달하고, 생성·발사는 같은 신호에서 처리합니다.
310 ActiveRequest->SetScreenPose(Pose);
311 UAbilitySystemComponent* ASC = DonationASC.Get();
313 EndDonation();
314
315 if (ASC && Request && Request->IsOpen())
316 {
317 Request->SendEvent(ASC, EWeaponDonationState::Launch);
318 }
319}
bool ResolveScreenPose(FWeaponDonationScreenPose &Pose) const
Definition WeaponDonationPresenter.cpp:202
Definition GC_WeaponDonation.h:42
Definition GC_WeaponDonation.h:27

다음을 참조함 : ActiveRequest, bPlaying, bWaitingForLaunch, CancelDonation(), DonationASC, EndDonation(), Launch, Request, ResolveScreenPose().

다음에 의해서 참조됨 : CompleteWeaponHandoff().

이 함수 내부에서 호출하는 함수들에 대한 그래프입니다.:
이 함수를 호출하는 함수들에 대한 그래프입니다.:

◆ ResolveScreenPose()

bool UWeaponDonationPresenter::ResolveScreenPose ( FWeaponDonationScreenPose &  Pose) const

화면 중심·크기·회전을 한 번에 구합니다.

203{
205
206 if (View == nullptr || View->GetOwningPlayer() == nullptr)
207 {
208 return false;
209 }
210
211 FVector2D Center, Right, Down;
212
213 if (ResolveVideoAxes(Center, Right, Down) == false)
214 {
215 return false;
216 }
217
218 // 같은 픽셀 축으로 기본 자세와 SDF 제작 화면비에 대한 가로 배율을 함께 계산합니다.
219 Pose.WidthScale = Right.Size() / Down.Size() / (600.0f / 285.0f);
220
221 if (View->GetWeaponScreenPose(Pose.Center, Pose.Height, Pose.Rotation) == false)
222 {
223 Pose.Center = Center;
224 Pose.Height = Down.Size() * 0.9f;
225 // 화면 Y는 아래쪽이므로 카메라 공간의 오른쪽·위쪽 축으로 변환합니다.
226 Pose.Rotation = FRotationMatrix::MakeFromXY(FVector(0.0, Right.X, -Right.Y), FVector(0.0, -Down.X, Down.Y)).Rotator();
227 }
228
229 return Pose.Center.ContainsNaN() == false && FMath::IsFinite(Pose.Height) && Pose.Height > 0.0f &&
230 Pose.Rotation.ContainsNaN() == false && FMath::IsFinite(Pose.WidthScale) && Pose.WidthScale > 0.0f;
231}
bool GetWeaponScreenPose(FVector2D &PixelCenter, float &PixelHeight, FRotator &CameraRelativeRotation) const
bool ResolveVideoAxes(FVector2D &Center, FVector2D &Right, FVector2D &Down) const
Definition WeaponDonationPresenter.cpp:234
float Height
Definition GC_WeaponDonation.h:31
float WidthScale
Definition GC_WeaponDonation.h:33
FVector2D Center
Definition GC_WeaponDonation.h:34
FRotator Rotation
Definition GC_WeaponDonation.h:35

다음을 참조함 : ActiveView, FWeaponDonationScreenPose::Center, UWeaponDonationHUDWidget::GetWeaponScreenPose(), FWeaponDonationScreenPose::Height, ResolveVideoAxes(), Right, FWeaponDonationScreenPose::Rotation, FWeaponDonationScreenPose::WidthScale.

다음에 의해서 참조됨 : ReleaseDonationWeapon().

이 함수 내부에서 호출하는 함수들에 대한 그래프입니다.:
이 함수를 호출하는 함수들에 대한 그래프입니다.:

◆ ResolveVideoAxes()

bool UWeaponDonationPresenter::ResolveVideoAxes ( FVector2D &  Center,
FVector2D &  Right,
FVector2D &  Down 
) const
private

회전된 바깥 사각형 대신 실제 이미지의 픽셀 축을 읽습니다.

235{
236 const UWeaponDonationHUDWidget* View = ActiveView.Get();
237 const UWidget* Video = View ? View->GetWidgetFromName(TEXT("DonationVideo")) : nullptr;
238
239 if (Video == nullptr)
240 {
241 return false;
242 }
243
244 const FGeometry& Geometry = Video->GetCachedGeometry();
245 const FVector2D Size = Geometry.GetLocalSize();
246
247 FVector2D Origin, RightEnd, DownEnd, Viewport;
248
249 USlateBlueprintLibrary::LocalToViewport(View, Geometry, FVector2D::ZeroVector, Origin, Viewport);
250 USlateBlueprintLibrary::LocalToViewport(View, Geometry, FVector2D(Size.X, 0.0), RightEnd, Viewport);
251 USlateBlueprintLibrary::LocalToViewport(View, Geometry, FVector2D(0.0, Size.Y), DownEnd, Viewport);
252
253 Right = RightEnd - Origin;
254 Down = DownEnd - Origin;
255 Center = Origin + (Right + Down) * 0.5;
256
257 if (Center.ContainsNaN() || Right.ContainsNaN() || Down.ContainsNaN() || Right.Size() < KINDA_SMALL_NUMBER || Down.Size() < KINDA_SMALL_NUMBER)
258 {
259 return false;
260 }
261
262 // 픽셀 변환의 미세한 축 오차는 엔진의 직교 허용치로 판정하고, 기울이기·반전은 거부합니다.
263 const double Dot = FVector2D::DotProduct(Right.GetSafeNormal(), Down.GetSafeNormal());
264
265 const bool bValidAxes = FMath::Abs(Dot) < UE_DOUBLE_THRESH_NORMALS_ARE_ORTHOGONAL && Right.X * Down.Y - Right.Y * Down.X > 0.0;
266 if (bValidAxes == false)
267 {
268 LOG_WARNING(LogCK, "Donation.Axes: Right=%s Down=%s Dot=%.9f", *Right.ToString(), *Down.ToString(), Dot);
269 }
270
271 return bValidAxes;
272}
#define LOG_WARNING(Category, Format,...)
Definition CK_UE.h:40

다음을 참조함 : ActiveView, LOG_WARNING, Right.

다음에 의해서 참조됨 : ResolveScreenPose().

이 함수를 호출하는 함수들에 대한 그래프입니다.:

◆ ResolveVideoBounds()

bool UWeaponDonationPresenter::ResolveVideoBounds ( FVector2D &  Min,
FVector2D &  Max 
) const

영상의 실제 픽셀 영역을 반환합니다. 레이아웃이 준비되지 않으면 실패합니다.

323{
325
326 if (View == nullptr)
327 {
328 return false;
329 }
330
331 if (View->GetDonationScreenBounds(Min, Max))
332 {
333 return FMath::IsFinite(Min.X) && FMath::IsFinite(Min.Y) && FMath::IsFinite(Max.X) && FMath::IsFinite(Max.Y) && Max.X > Min.X && Max.Y > Min.Y;
334 }
335
336 const UWidget* Video = View->GetWidgetFromName(TEXT("DonationVideo"));
337
338 if (Video == nullptr)
339 {
340 return false;
341 }
342
343 const FGeometry& Geometry = Video->GetCachedGeometry();
344 const FVector2D Size = Geometry.GetLocalSize();
345
346 if (Size.X < KINDA_SMALL_NUMBER || Size.Y < KINDA_SMALL_NUMBER)
347 {
348 return false;
349 }
350
351 Min = FVector2D(BIG_NUMBER, BIG_NUMBER);
352 Max = FVector2D(-BIG_NUMBER, -BIG_NUMBER);
353
354 for (int32 Corner = 0; Corner < 4; ++Corner)
355 {
356 FVector2D Pixel, Viewport;
357
358 if ((Corner & 0x1))
359 {
360 USlateBlueprintLibrary::LocalToViewport(View, Geometry, FVector2D(Size.X, (Corner & 2) ? Size.Y : 0.0f), Pixel, Viewport);
361 }
362 else
363 {
364 USlateBlueprintLibrary::LocalToViewport(View, Geometry, FVector2D(0.0f, (Corner & 2) ? Size.Y : 0.0f), Pixel, Viewport);
365 }
366
367 Min.X = FMath::Min(Min.X, Pixel.X);
368 Min.Y = FMath::Min(Min.Y, Pixel.Y);
369 Max.X = FMath::Max(Max.X, Pixel.X);
370 Max.Y = FMath::Max(Max.Y, Pixel.Y);
371 }
372
373 return FMath::IsFinite(Min.X) && FMath::IsFinite(Min.Y) && FMath::IsFinite(Max.X) && FMath::IsFinite(Max.Y) && Max.X > Min.X && Max.Y > Min.Y;
374}
bool GetDonationScreenBounds(FVector2D &PixelMin, FVector2D &PixelMax) const

다음을 참조함 : ActiveView, UWeaponDonationHUDWidget::GetDonationScreenBounds().

이 함수 내부에서 호출하는 함수들에 대한 그래프입니다.:

멤버 데이터 문서화

◆ ActiveRequest

TObjectPtr<UWeaponDonationRequest> UWeaponDonationPresenter::ActiveRequest
protected

◆ ActiveView

◆ bAbilityReady

bool UWeaponDonationPresenter::bAbilityReady = false
protected

◆ bExited

bool UWeaponDonationPresenter::bExited = false
protected

◆ bPlaying

bool UWeaponDonationPresenter::bPlaying = false
protected

◆ bShapeReady

bool UWeaponDonationPresenter::bShapeReady = false
protected

다음에 의해서 참조됨 : BeginDonation(), EndDonation(), NotifyWeaponShapeProgress().

◆ bWaitingForLaunch

bool UWeaponDonationPresenter::bWaitingForLaunch = false
protected

◆ CueTimer

FTimerHandle UWeaponDonationPresenter::CueTimer
protected

다음에 의해서 참조됨 : BeginDonation(), EndDonation(), NotifyWeaponExit().

◆ DonationASC

TWeakObjectPtr<UAbilitySystemComponent> UWeaponDonationPresenter::DonationASC
protected

다음에 의해서 참조됨 : BeginDonation(), EndDonation(), ReleaseDonationWeapon().

◆ DonationEventHandle

FDelegateHandle UWeaponDonationPresenter::DonationEventHandle
protected

시작용 Ability 종료 후에도 UI가 요청을 소유하고, 준비 완료 시 실제 스킬로 인계합니다.

다음에 의해서 참조됨 : BeginDonation(), EndDonation().

◆ OnDonationCancelled

FOnDonationWeaponExit UWeaponDonationPresenter::OnDonationCancelled

다음에 의해서 참조됨 : CancelDonation().

◆ OnWeaponExit

FOnDonationWeaponExit UWeaponDonationPresenter::OnWeaponExit

다음에 의해서 참조됨 : NotifyWeaponExit().

◆ PostLaunchTimer

FTimerHandle UWeaponDonationPresenter::PostLaunchTimer
protected

다음에 의해서 참조됨 : CompleteWeaponHandoff(), EndDonation().

◆ PostLaunchUIOffset

float UWeaponDonationPresenter::PostLaunchUIOffset = 0.0f
private

Animation 종료 신호 이후 위젯 종료·무기 발사까지의 추가 대기 시간입니다. 기존 BP 설정값을 유지합니다.

다음에 의해서 참조됨 : CompleteWeaponHandoff().

◆ VideoCueTimeout

float UWeaponDonationPresenter::VideoCueTimeout = 15.0f
private

변형 완료 신호가 누락된 경우 스킬을 취소하는 제한 시간입니다.

다음에 의해서 참조됨 : BeginDonation().


이 클래스에 대한 문서화 페이지는 다음의 파일들로부터 생성되었습니다.: