Space Plunder
Loading...
Searching...
No Matches
UALSNotifyStateOverlayOverride Class Reference

#include <ALSNotifyStateOverlayOverride.h>

Inheritance diagram for UALSNotifyStateOverlayOverride:

Public Attributes

int32 OverlayOverrideState = 0
 

Private Member Functions

virtual void NotifyBegin (USkeletalMeshComponent *MeshComp, UAnimSequenceBase *Animation, float TotalDuration, const FAnimNotifyEventReference &EventReference) override
 
virtual void NotifyEnd (USkeletalMeshComponent *MeshComp, UAnimSequenceBase *Animation, const FAnimNotifyEventReference &EventReference) override
 
virtual FString GetNotifyName_Implementation () const override
 

Member Function Documentation

◆ GetNotifyName_Implementation()

FString UALSNotifyStateOverlayOverride::GetNotifyName_Implementation ( ) const
overrideprivatevirtual
34{
35 FString Name(TEXT("Overlay Override State: "));
36 Name.Append(FString::FromInt(OverlayOverrideState));
37 return Name;
38}
int32 OverlayOverrideState
Definition ALSNotifyStateOverlayOverride.h:29

◆ NotifyBegin()

void UALSNotifyStateOverlayOverride::NotifyBegin ( USkeletalMeshComponent * MeshComp,
UAnimSequenceBase * Animation,
float TotalDuration,
const FAnimNotifyEventReference & EventReference )
overrideprivatevirtual
12{
13 Super::NotifyBegin(MeshComp, Animation, TotalDuration, EventReference);
14
15 AALSBaseCharacter* Character = Cast<AALSBaseCharacter>(MeshComp->GetOwner());
16 if (Character)
17 {
18 Character->SetOverlayOverrideState(OverlayOverrideState);
19 }
20}
Definition ALSBaseCharacter.h:38

◆ NotifyEnd()

void UALSNotifyStateOverlayOverride::NotifyEnd ( USkeletalMeshComponent * MeshComp,
UAnimSequenceBase * Animation,
const FAnimNotifyEventReference & EventReference )
overrideprivatevirtual
23{
24 Super::NotifyEnd(MeshComp, Animation, EventReference);
25
26 AALSBaseCharacter* Character = Cast<AALSBaseCharacter>(MeshComp->GetOwner());
27 if (Character)
28 {
29 Character->SetOverlayOverrideState(0);
30 }
31}

Member Data Documentation

◆ OverlayOverrideState

int32 UALSNotifyStateOverlayOverride::OverlayOverrideState = 0

The documentation for this class was generated from the following files: