LEAP Documentation 40220
Documentation for the LEAP project
AProjectXObjectiveVIP Class Reference

#include <ProjectXObjectiveVIP.h>

Inheritance diagram for AProjectXObjectiveVIP:
AProjectXSpawnerObjective IReactsToMatchEvents ISpawnInterface

Public Member Functions

uint8 GetPhaseNumber () const
 
void GetVIPActors (TArray< AActor * > &VIPS) const
 
virtual bool IsObjectiveComplete () const override
 
virtual bool IsPhaseComplete () const
 
- Public Member Functions inherited from AProjectXSpawnerObjective
EObjectiveState GetObjectiveStat () const
 
UUserWidget *const GetObjectiveWidget () const
 
virtual bool GetWaveInfoOverride (EWaveSpawnerState State, FWaveStateInfo &FoundInfo) const
 
virtual void BeginSpawning_Implementation () override
 
virtual void StopSpawning_Implementation () override
 
virtual bool IsAnObjective () const override
 
virtual AProjectXSpawnerObjectiveGetObjective () override
 
virtual bool IsObjectiveComplete () const
 
virtual void SetObjectiveSucceded (bool bSuccess)
 
virtual FSpawnProgressSignature & GetSpawnCompleteEvent () override
 
virtual FSpawnEventCompleteSignature & GetEventCompleteEvent () override
 
virtual const TArray< TWeakObjectPtr< AActor > > & GetSharedObjectives () const
 
virtual void BeginPlay () override
 
virtual void EndPlay (const EEndPlayReason::Type EndPlayReason) override
 
virtual void StartWarmup ()
 
virtual void StartObjective ()
 
virtual void EndObjective ()
 
virtual void StartCleanup ()
 
virtual void ToggleObjectiveWidget (bool bWidgetActive)
 
- Public Member Functions inherited from IReactsToMatchEvents
void OnMatchStarted ()
 
virtual void MatchStarted ()
 
void OnMatchEnded ()
 
virtual void MatchEnded ()
 
- Public Member Functions inherited from ISpawnInterface
void K2_BeginSpawning (const TArray< TSubclassOf< AActor > > &SpawnOverrideList)
 
void BeginSpawning ()
 
void StopSpawning ()
 
TArray< TScriptInterface< ISpawnInterface > > GetSpawnChildren ()
 
virtual bool IsAnObjective () const
 
virtual AProjectXSpawnerObjectiveGetObjective ()
 
virtual bool ImplementsSpawnCompleteCallback () const
 
virtual FSpawnProgressSignature & GetSpawnCompleteEvent ()
 
virtual FSpawnEventCompleteSignature & GetEventCompleteEvent ()
 

Public Attributes

FOnVIPObjectivePhaseUpdatedSignature OnPhaseNumberUpdatedEvent
 
FOnVIPObjectiveVIPSUpdatedSignature OnVIPSUpdatedEvent
 
- Public Attributes inherited from AProjectXSpawnerObjective
FSpawnEventCompleteSignature OnObjectiveCompletedEvent
 
FSpawnProgressSignature OnObjectiveSpawnedEvent
 
FObjectiveStatusUpdatedSignature OnObjectiveStatusUpdatedEvent
 

Protected Member Functions

virtual void ObjectiveStarted () override
 
virtual void InitializeGamePlayObjects ()
 
virtual void ObjectiveComplete () override
 
virtual void UpdateCurrentPhase ()
 
virtual void StartCurrentPhase ()
 
virtual void EndCurrentPhase ()
 
virtual void UpdateIsFullySpawned ()
 
void OnMobSpawned (AProjectXCharacter *SpawnedPlayerState)
 
void OnVIPKilled (class AActor *Victim, const float Damage, struct FDamageEvent const &DamageEvent, const class AController *EventInstigator, const class AActor *DamageCauser, const class APlayerState *InstigatorPlayerState)
 
virtual void OnRep_PhaseNumber ()
 
virtual void OnRep_VIPS ()
 
- Protected Member Functions inherited from AProjectXSpawnerObjective
virtual void InitializeGamePlayObjects ()
 
virtual void CollectSharedObjectivesList (TArray< TWeakObjectPtr< AActor > > SharedActors)
 
virtual void UpdateObjectiveStat (EObjectiveState State)
 
virtual void RequestObjectiveStatusUpdateDelayed ()
 
virtual void RequestObjectiveStatusUpdate ()
 
virtual void WarmupStarted ()
 
virtual void ObjectiveStarted ()
 
virtual void ObjectiveComplete ()
 
virtual void CleanupComplete ()
 
void OnWarmupStarted ()
 
void OnObjectiveStarted ()
 
void OnObjectiveComplete ()
 
void OnCleanupCompleted ()
 
void OnObjectiveWidgetToggled (UUserWidget *ObjectiveOwnedWidget, bool bToggled)
 
void OnRep_ObjectiveStatus ()
 

Protected Attributes

TMap< int32, FVIPPhaseInfoPhaseInfo
 
float VIPPhaseDelay = 1.0f
 
TSubclassOf< UAfflictionInstance > VIPAffliction = NULL
 
uint8 CurrentPhase = -1
 
TArray< FActiveVIPInfoChosenVIPS
 
FVIPPhaseInfo ActivePhaseInfo
 
- Protected Attributes inherited from AProjectXSpawnerObjective
FObjectiveStatus ObjectiveStatus = FObjectiveStatus()
 
float WarmupDuration = 0.0f
 
float CleanUpDuration = 0.0
 
bool bDestroyWhenFinishedSpawning = false
 
bool bDebug = false
 
TMap< EWaveSpawnerState, FWaveStateInfoWaveInfoOverride
 
TArray< AProjectXSpawnerObjective * > LinkedObjectives = TArray<AProjectXSpawnerObjective*>()
 
TSubclassOf< UUserWidget > ObjectiveWidgetClass = NULL
 
float PlayerScalingValue = 1.0f
 
TWeakObjectPtr< UUserWidget > ObjectiveWidget = NULL
 
TWeakObjectPtr< AWaveSpawnerOwnedSpawner = NULL
 
TArray< TWeakInterfacePtr< IReactsToObjectiveInterface > > ReactsToObjectiveObjects = TArray<TWeakInterfacePtr<IReactsToObjectiveInterface>>()
 
TArray< TWeakObjectPtr< AActor > > SharedObjectiveActors = TArray<TWeakObjectPtr<AActor>>()
 
EObjectiveComplete ObjectiveCompletion = EObjectiveComplete::NONE
 

Member Function Documentation

◆ EndCurrentPhase()

void AProjectXObjectiveVIP::EndCurrentPhase ( )
protectedvirtual

◆ GetPhaseNumber()

uint8 AProjectXObjectiveVIP::GetPhaseNumber ( ) const
inline

◆ GetVIPActors()

void AProjectXObjectiveVIP::GetVIPActors ( TArray< AActor * > &  VIPS) const

◆ InitializeGamePlayObjects()

void AProjectXObjectiveVIP::InitializeGamePlayObjects ( )
protectedvirtual

Reimplemented from AProjectXSpawnerObjective.

◆ IsObjectiveComplete()

bool AProjectXObjectiveVIP::IsObjectiveComplete ( ) const
overridevirtual

Reimplemented from AProjectXSpawnerObjective.

◆ IsPhaseComplete()

bool AProjectXObjectiveVIP::IsPhaseComplete ( ) const
virtual

◆ ObjectiveComplete()

void AProjectXObjectiveVIP::ObjectiveComplete ( )
overrideprotectedvirtual

Reimplemented from AProjectXSpawnerObjective.

◆ ObjectiveStarted()

void AProjectXObjectiveVIP::ObjectiveStarted ( )
overrideprotectedvirtual

Reimplemented from AProjectXSpawnerObjective.

◆ OnMobSpawned()

void AProjectXObjectiveVIP::OnMobSpawned ( AProjectXCharacter SpawnedPlayerState)
protected

◆ OnRep_PhaseNumber()

void AProjectXObjectiveVIP::OnRep_PhaseNumber ( )
protectedvirtual

◆ OnRep_VIPS()

void AProjectXObjectiveVIP::OnRep_VIPS ( )
protectedvirtual

◆ OnVIPKilled()

void AProjectXObjectiveVIP::OnVIPKilled ( class AActor *  Victim,
const float  Damage,
struct FDamageEvent const &  DamageEvent,
const class AController *  EventInstigator,
const class AActor *  DamageCauser,
const class APlayerState *  InstigatorPlayerState 
)
protected

◆ StartCurrentPhase()

void AProjectXObjectiveVIP::StartCurrentPhase ( )
protectedvirtual

◆ UpdateCurrentPhase()

void AProjectXObjectiveVIP::UpdateCurrentPhase ( )
protectedvirtual

◆ UpdateIsFullySpawned()

void AProjectXObjectiveVIP::UpdateIsFullySpawned ( )
protectedvirtual

Member Data Documentation

◆ ActivePhaseInfo

FVIPPhaseInfo AProjectXObjectiveVIP::ActivePhaseInfo
protected

◆ ChosenVIPS

TArray<FActiveVIPInfo> AProjectXObjectiveVIP::ChosenVIPS
protected

◆ CurrentPhase

uint8 AProjectXObjectiveVIP::CurrentPhase = -1
protected

◆ OnPhaseNumberUpdatedEvent

FOnVIPObjectivePhaseUpdatedSignature AProjectXObjectiveVIP::OnPhaseNumberUpdatedEvent

◆ OnVIPSUpdatedEvent

FOnVIPObjectiveVIPSUpdatedSignature AProjectXObjectiveVIP::OnVIPSUpdatedEvent

◆ PhaseInfo

TMap<int32,FVIPPhaseInfo> AProjectXObjectiveVIP::PhaseInfo
protected

◆ VIPAffliction

TSubclassOf<UAfflictionInstance> AProjectXObjectiveVIP::VIPAffliction = NULL
protected

◆ VIPPhaseDelay

float AProjectXObjectiveVIP::VIPPhaseDelay = 1.0f
protected

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